Browse Source

lavf/oggparseogm: Remove an unneeded assert.

Suggested-by: Reimar
tags/n4.0
Carl Eugen Hoyos 7 years ago
parent
commit
e8f7171a34
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      libavformat/oggparseogm.c

+ 0
- 1
libavformat/oggparseogm.c View File

@@ -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…
Cancel
Save