Commit c7c7aa85 authored by Andreas Rheinhardt's avatar Andreas Rheinhardt

avutil/tx: Fix declaration after statement

Reviewed-by: 's avatarPaul B Mahol <onemda@gmail.com>
Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
parent 2edfb26f
...@@ -115,14 +115,13 @@ int ff_tx_gen_ptwo_inplace_revtab_idx(AVTXContext *s) ...@@ -115,14 +115,13 @@ int ff_tx_gen_ptwo_inplace_revtab_idx(AVTXContext *s)
return AVERROR(ENOMEM); return AVERROR(ENOMEM);
for (int d = 1; d < s->m; d++) { for (int d = 1; d < s->m; d++) {
int src = d; int src = d, start_src = src;
int dst = s->revtab[src]; int dst = s->revtab[src];
int found = 0;
if (dst <= src) if (dst <= src)
continue; continue;
int found = 0;
int start_src = src;
do { do {
src = dst; src = dst;
for (int j = 0; j < nb_inplace_idx; j++) { for (int j = 0; j < nb_inplace_idx; j++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment