Commit a52384dc authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '153fadc3'

* commit '153fadc3':
  ff_get_format: fix infinite loop
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents d47dd843 153fadc3
...@@ -1233,7 +1233,7 @@ int ff_get_format(AVCodecContext *avctx, const enum AVPixelFormat *fmt) ...@@ -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);
......
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