Commit 58d7dde0 authored by James Almer's avatar James Almer

brstm: fix use of uninitialized variables

Fixes valgrind complaining about "Conditional jump or move depends on uninitialised value(s)"
Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent d7e224ec
...@@ -327,7 +327,7 @@ static int read_header(AVFormatContext *s) ...@@ -327,7 +327,7 @@ static int read_header(AVFormatContext *s)
b->data_start = avio_tell(s->pb); 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); avpriv_request_sample(s, "Version %d.%d", major, minor);
return 0; return 0;
......
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