diff options
Diffstat (limited to 'libavformat/avidec.c')
-rw-r--r-- | libavformat/avidec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c index 0995150454..d210eb65a7 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -1001,6 +1001,8 @@ start_sync: } } + if(pb->error) + return pb->error; return AVERROR_EOF; } |