[FFmpeg-cvslog] lavf/oggparseogm: Remove an unneeded assert.

Carl Eugen Hoyos git at videolan.org
Mon Jan 8 14:20:51 EET 2018


ffmpeg | branch: master | Carl Eugen Hoyos <ceffmpeg at gmail.com> | Mon Jan  8 13:20:13 2018 +0100| [e8f7171a342efe3b067c3a3c474dd73b531fd6fc] | committer: Carl Eugen Hoyos

lavf/oggparseogm: Remove an unneeded assert.

Suggested-by: Reimar

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e8f7171a342efe3b067c3a3c474dd73b531fd6fc
---

 libavformat/oggparseogm.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavformat/oggparseogm.c b/libavformat/oggparseogm.c
index fad093b629..3c5c7abbda 100644
--- a/libavformat/oggparseogm.c
+++ b/libavformat/oggparseogm.c
@@ -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;



More information about the ffmpeg-cvslog mailing list