nsv: return error code instead of discarding it in read_header()

This commit is contained in:
Aurelien Jacobs 2011-06-13 18:28:54 +02:00
parent 058d03631a
commit 223694b404

View File

@ -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)