diff options
author | James Almer <jamrial@gmail.com> | 2015-06-24 14:16:41 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2015-06-24 14:31:54 -0300 |
commit | 58d7dde081d1aef2cfa79c3675c54023371d1060 (patch) | |
tree | 64a686322eafce8901f157406e8d262ccad7c949 /libavformat/brstm.c | |
parent | d7e224ec24f73258e96daa02503fb405b1480a89 (diff) | |
download | ffmpeg-58d7dde081d1aef2cfa79c3675c54023371d1060.tar.gz |
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>
Diffstat (limited to 'libavformat/brstm.c')
-rw-r--r-- | libavformat/brstm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/brstm.c b/libavformat/brstm.c index 1d190c9720..b6108e3ec8 100644 --- a/libavformat/brstm.c +++ b/libavformat/brstm.c @@ -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; |