Skip to content
Snippets Groups Projects
Commit e8f7171a authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos
Browse files

lavf/oggparseogm: Remove an unneeded assert.

Suggested-by: Reimar
parent 3f234a0b
No related branches found
No related tags found
No related merge requests found
...@@ -106,7 +106,6 @@ ogm_header(AVFormatContext *s, int idx) ...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment