提交 a52384dc 编写于 作者: M Michael Niedermayer

Merge commit '153fadc3'

* commit '153fadc3':
  ff_get_format: fix infinite loop
Merged-by: NMichael Niedermayer <michaelni@gmx.at>
......@@ -1233,7 +1233,7 @@ int ff_get_format(AVCodecContext *avctx, const enum AVPixelFormat *fmt)
do
choices[n] = choices[n + 1];
while (choices[n] != AV_PIX_FMT_NONE);
while (choices[n++] != AV_PIX_FMT_NONE);
}
av_freep(&choices);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册