summaryrefslogtreecommitdiff
path: root/libavcodec/dpx_parser.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-05-29 17:22:26 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-05-29 17:22:26 +0200
commit8df5d9aabfbfe2b6e34c25968788499d7b8504f8 (patch)
treed3b712b4dafb0299e11adf8eef75114d3cb30b44 /libavcodec/dpx_parser.c
parentf518fb33184b35b0cc5eb9354bbeb39a548ea41e (diff)
avcodec/dpx_parser: fix flushing end out
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/dpx_parser.c')
-rw-r--r--libavcodec/dpx_parser.c2
1 files changed, 1 insertions, 1 deletions
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++) {