summaryrefslogtreecommitdiff
path: root/libavformat/sierravmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/sierravmd.c')
-rw-r--r--libavformat/sierravmd.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavformat/sierravmd.c b/libavformat/sierravmd.c
index 3e1c8597db..eba0bbb9e3 100644
--- a/libavformat/sierravmd.c
+++ b/libavformat/sierravmd.c
@@ -59,9 +59,6 @@ typedef struct VmdDemuxContext {
static int vmd_probe(AVProbeData *p)
{
- if (p->buf_size < 2)
- return 0;
-
/* check if the first 2 bytes of the file contain the appropriate size
* of a VMD header chunk */
if (AV_RL16(&p->buf[0]) != VMD_HEADER_SIZE - 2)