Merge commit '153fadc390d05aa47e5e2c56290401898fe41a23'
* commit '153fadc390d05aa47e5e2c56290401898fe41a23': ff_get_format: fix infinite loop Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
a52384dcda
@ -1233,7 +1233,7 @@ int ff_get_format(AVCodecContext *avctx, const enum AVPixelFormat *fmt)
|
|||||||
|
|
||||||
do
|
do
|
||||||
choices[n] = choices[n + 1];
|
choices[n] = choices[n + 1];
|
||||||
while (choices[n] != AV_PIX_FMT_NONE);
|
while (choices[n++] != AV_PIX_FMT_NONE);
|
||||||
}
|
}
|
||||||
|
|
||||||
av_freep(&choices);
|
av_freep(&choices);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user