mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
return right format in set_codec_from_probe_data
Originally committed as revision 8867 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
671adb1742
commit
efd5fc538e
@ -1684,7 +1684,7 @@ static int set_codec_from_probe_data(AVStream *st, AVProbeData *pd, int score)
|
||||
else if (strncmp(fmt->name, "ac3", 3) == 0)
|
||||
st->codec->codec_id = CODEC_ID_AC3;
|
||||
}
|
||||
return fmt;
|
||||
return !!fmt;
|
||||
}
|
||||
|
||||
/* absolute maximum size we read until we abort */
|
||||
|
Loading…
Reference in New Issue
Block a user