mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
2edfb26fd1
commit
c7c7aa85b7
|
@ -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++) {
|
||||||
|
|
Loading…
Reference in New Issue