Commit 223694b4 authored by Aurelien Jacobs's avatar Aurelien Jacobs

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

parent 058d0363
...@@ -531,7 +531,7 @@ static int nsv_read_header(AVFormatContext *s, AVFormatParameters *ap) ...@@ -531,7 +531,7 @@ static int nsv_read_header(AVFormatContext *s, AVFormatParameters *ap)
err = nsv_read_chunk(s, 1); err = nsv_read_chunk(s, 1);
av_dlog(s, "parsed header\n"); av_dlog(s, "parsed header\n");
return 0; return err;
} }
static int nsv_read_chunk(AVFormatContext *s, int fill_header) static int nsv_read_chunk(AVFormatContext *s, int fill_header)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment