1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

lavf/oggparseogm: Remove an unneeded assert.

Suggested-by: Reimar
This commit is contained in:
Carl Eugen Hoyos 2018-01-08 13:20:13 +01:00
parent 3f234a0b22
commit e8f7171a34

View File

@ -106,7 +106,6 @@ ogm_header(AVFormatContext *s, int idx)
size -= 4;
}
if (size > 52) {
av_assert0(AV_INPUT_BUFFER_PADDING_SIZE <= 52);
size -= 52;
if (bytestream2_get_bytes_left(&p) < size)
return AVERROR_INVALIDDATA;