lavf/oggparseogm: Remove an unneeded assert.
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>
Mon, 8 Jan 2018 12:20:13 +0000 (13:20 +0100)
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>
Mon, 8 Jan 2018 12:20:13 +0000 (13:20 +0100)
Suggested-by: Reimar
libavformat/oggparseogm.c

index fad093b..3c5c7ab 100644 (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;