You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
mov: print warning if ff_get_wav_header() fails
Fixes CID717497 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -689,7 +689,9 @@ static int mov_read_wfex(MOVContext *c, AVIOContext *pb, MOVAtom atom)
|
|||||||
return 0;
|
return 0;
|
||||||
st = c->fc->streams[c->fc->nb_streams-1];
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user