1
0
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:
James Almer 2015-06-24 14:16:41 -03:00
parent d7e224ec24
commit 58d7dde081

View File

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