diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2013-07-13 11:55:33 -0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2013-07-21 16:36:31 -0400 |
commit | 8000206abcc82491c2a8c71e494c5477ede7264c (patch) | |
tree | 4b988544d335ba1538bf7aa9507c4db1cc27881f /libavcodec/libspeexdec.c | |
parent | 7ef760d95c73dfee021b8fdee04f65126eb7edd1 (diff) | |
download | ffmpeg-8000206abcc82491c2a8c71e494c5477ede7264c.tar.gz |
libspeexdec: fix detection of final terminator code
Diffstat (limited to 'libavcodec/libspeexdec.c')
-rw-r--r-- | libavcodec/libspeexdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libspeexdec.c b/libavcodec/libspeexdec.c index 5b656963c1..a4bc16228b 100644 --- a/libavcodec/libspeexdec.c +++ b/libavcodec/libspeexdec.c @@ -127,7 +127,7 @@ static int libspeex_decode_frame(AVCodecContext *avctx, void *data, current packet, otherwise ignore the current packet and keep decoding frames from the libspeex buffer. */ if (speex_bits_remaining(&s->bits) < 5 || - speex_bits_peek_unsigned(&s->bits, 5) == 0x1F) { + speex_bits_peek_unsigned(&s->bits, 5) == 0xF) { /* check for flush packet */ if (!buf || !buf_size) { *got_frame_ptr = 0; |