diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2011-06-13 18:28:54 +0200 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2011-06-13 18:28:54 +0200 |
commit | 223694b404e63211ad7d1bd2916c070a0b587703 (patch) | |
tree | 8c17db24d42d0dc7db95ec165d23b6148490bb81 /libavformat/nsvdec.c | |
parent | 058d03631afcaa4eb8f61c80c920a192b27d1ca2 (diff) | |
download | ffmpeg-223694b404e63211ad7d1bd2916c070a0b587703.tar.gz |
nsv: return error code instead of discarding it in read_header()
Diffstat (limited to 'libavformat/nsvdec.c')
-rw-r--r-- | libavformat/nsvdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/nsvdec.c b/libavformat/nsvdec.c index b1efa5bd9c..81c672e388 100644 --- a/libavformat/nsvdec.c +++ b/libavformat/nsvdec.c @@ -531,7 +531,7 @@ static int nsv_read_header(AVFormatContext *s, AVFormatParameters *ap) err = nsv_read_chunk(s, 1); av_dlog(s, "parsed header\n"); - return 0; + return err; } static int nsv_read_chunk(AVFormatContext *s, int fill_header) |