mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
brstm: fix use of uninitialized variables
Fixes valgrind complaining about "Conditional jump or move depends on uninitialised value(s)" Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
d7e224ec24
commit
58d7dde081
@ -327,7 +327,7 @@ static int read_header(AVFormatContext *s)
|
||||
|
||||
b->data_start = avio_tell(s->pb);
|
||||
|
||||
if ((major != 1 || minor) && !bfstm)
|
||||
if (!bfstm && (major != 1 || minor))
|
||||
avpriv_request_sample(s, "Version %d.%d", major, minor);
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user