You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
nsvdec: Propagate error values instead of returning 0 in nsv_read_header().
This eliminates a warning about a set-but-unused variable.
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user