avutil/tx: Fix declaration after statement

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
Andreas Rheinhardt 2021-02-22 05:57:14 +01:00
parent 2edfb26fd1
commit c7c7aa85b7
1 changed files with 2 additions and 3 deletions

View File

@ -115,14 +115,13 @@ int ff_tx_gen_ptwo_inplace_revtab_idx(AVTXContext *s)
return AVERROR(ENOMEM);
for (int d = 1; d < s->m; d++) {
int src = d;
int src = d, start_src = src;
int dst = s->revtab[src];
int found = 0;
if (dst <= src)
continue;
int found = 0;
int start_src = src;
do {
src = dst;
for (int j = 0; j < nb_inplace_idx; j++) {