Commit 6d55a40b authored by Michael Niedermayer's avatar Michael Niedermayer

mov: print warning if ff_get_wav_header() fails

Fixes CID717497
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 24d6af0f
......@@ -689,7 +689,9 @@ static int mov_read_wfex(MOVContext *c, AVIOContext *pb, MOVAtom atom)
return 0;
st = c->fc->streams[c->fc->nb_streams-1];
ff_get_wav_header(pb, st->codec, atom.size);
if (ff_get_wav_header(pb, st->codec, atom.size) < 0) {
av_log(c->fc, AV_LOG_WARNING, "get_wav_header failed\n");
}
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