[FFmpeg-cvslog] avcodec/dpx_parser: fix flushing end out

Michael Niedermayer git at videolan.org
Thu May 29 17:33:07 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu May 29 17:22:26 2014 +0200| [8df5d9aabfbfe2b6e34c25968788499d7b8504f8] | committer: Michael Niedermayer

avcodec/dpx_parser: fix flushing end out

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8df5d9aabfbfe2b6e34c25968788499d7b8504f8
---

 libavcodec/dpx_parser.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/dpx_parser.c b/libavcodec/dpx_parser.c
index 6c6d502..5f29eee 100644
--- a/libavcodec/dpx_parser.c
+++ b/libavcodec/dpx_parser.c
@@ -48,7 +48,7 @@ static int dpx_parse(AVCodecParserContext *s, AVCodecContext *avctx,
 
     *poutbuf_size = 0;
     if (buf_size == 0)
-        return 0;
+        next = 0;
 
     if (!d->pc.frame_start_found) {
         for (; i < buf_size; i++) {



More information about the ffmpeg-cvslog mailing list