From 8df5d9aabfbfe2b6e34c25968788499d7b8504f8 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 29 May 2014 17:22:26 +0200 Subject: [PATCH] avcodec/dpx_parser: fix flushing end out Signed-off-by: Michael Niedermayer --- 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 6c6d502d7e..5f29eee033 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++) {