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:
parent
3f234a0b22
commit
e8f7171a34
@ -106,7 +106,6 @@ ogm_header(AVFormatContext *s, int idx)
|
|||||||
size -= 4;
|
size -= 4;
|
||||||
}
|
}
|
||||||
if (size > 52) {
|
if (size > 52) {
|
||||||
av_assert0(AV_INPUT_BUFFER_PADDING_SIZE <= 52);
|
|
||||||
size -= 52;
|
size -= 52;
|
||||||
if (bytestream2_get_bytes_left(&p) < size)
|
if (bytestream2_get_bytes_left(&p) < size)
|
||||||
return AVERROR_INVALIDDATA;
|
return AVERROR_INVALIDDATA;
|
||||||
|
Loading…
Reference in New Issue
Block a user