summaryrefslogtreecommitdiff
path: root/apps/codecs/libasf/asf.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libasf/asf.c')
-rw-r--r--apps/codecs/libasf/asf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/libasf/asf.c b/apps/codecs/libasf/asf.c
index 1188fb4e08..ce416689da 100644
--- a/apps/codecs/libasf/asf.c
+++ b/apps/codecs/libasf/asf.c
@@ -191,7 +191,7 @@ int asf_read_packet(uint8_t** audiobuf, int* audiobufsize, int* packetlength,
buf = ci->request_buffer(&bufsize, length);
datap = buf;
- if (bufsize != length) {
+ if (bufsize > length) {
/* This should only happen with packets larger than 32KB (the
guard buffer size). All the streams I've seen have
relatively small packets less than about 8KB), but I don't