[FFmpeg-cvslog] nsv: return error code instead of discarding it in read_header()
Aurelien Jacobs
git at videolan.org
Mon Jun 13 18:37:11 CEST 2011
ffmpeg | branch: master | Aurelien Jacobs <aurel at gnuage.org> | Mon Jun 13 18:28:54 2011 +0200| [223694b404e63211ad7d1bd2916c070a0b587703] | committer: Aurelien Jacobs
nsv: return error code instead of discarding it in read_header()
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=223694b404e63211ad7d1bd2916c070a0b587703
---
libavformat/nsvdec.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavformat/nsvdec.c b/libavformat/nsvdec.c
index b1efa5b..81c672e 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)
More information about the ffmpeg-cvslog
mailing list