summaryrefslogtreecommitdiff
path: root/libavformat/avs.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/avs.c')
-rw-r--r--libavformat/avs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/avs.c b/libavformat/avs.c
index 0fa77defff..5325ff6610 100644
--- a/libavformat/avs.c
+++ b/libavformat/avs.c
@@ -47,8 +47,6 @@ static int avs_probe(AVProbeData * p)
{
const uint8_t *d;
- if (p->buf_size < 2)
- return 0;
d = p->buf;
if (d[0] == 'w' && d[1] == 'W' && d[2] == 0x10 && d[3] == 0)
return 50;