summaryrefslogtreecommitdiff
path: root/libavformat/tta.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/tta.c')
-rw-r--r--libavformat/tta.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/tta.c b/libavformat/tta.c
index a3709437ee..821d6ab9c5 100644
--- a/libavformat/tta.c
+++ b/libavformat/tta.c
@@ -29,8 +29,6 @@ typedef struct {
static int tta_probe(AVProbeData *p)
{
const uint8_t *d = p->buf;
- if (p->buf_size < 4)
- return 0;
if (d[0] == 'T' && d[1] == 'T' && d[2] == 'A' && d[3] == '1')
return 80;
return 0;