diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-02-22 05:57:14 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-02-22 10:03:32 +0100 |
commit | c7c7aa85b7401fb9e3b7039878260e7120c9db06 (patch) | |
tree | cdfc5f95f0c8113215dd88bf8f1c039c5caa5ec7 /libavutil/tx.c | |
parent | 2edfb26fd1467199f09b4952a283b281df309d4d (diff) | |
download | ffmpeg-c7c7aa85b7401fb9e3b7039878260e7120c9db06.tar.gz |
avutil/tx: Fix declaration after statement
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavutil/tx.c')
-rw-r--r-- | libavutil/tx.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libavutil/tx.c b/libavutil/tx.c index 49d5e125ae..4a5ec6975f 100644 --- a/libavutil/tx.c +++ b/libavutil/tx.c @@ -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++) { |