On Fri, 8 Nov 2013 10:19:43 +0100, Kostya Shishkov <[email protected]> wrote: > Fixes e.g. http://samples.libav.org/vqf/KakOsennij.vqf for me
FATE test please > From a39465298bd89bb5db51c0b951fc09d8d5351452 Mon Sep 17 00:00:00 2001 > From: Kostya Shishkov <[email protected]> > Date: Sun, 20 Oct 2013 16:30:54 +0200 > Subject: [PATCH 3/4] twinvq: consume block_align+1 packets as full ones > > Those can be produced by VQF. > --- > libavcodec/twinvq.c | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/libavcodec/twinvq.c b/libavcodec/twinvq.c > index 4f79679..bc0205b 100644 > --- a/libavcodec/twinvq.c > +++ b/libavcodec/twinvq.c > @@ -523,6 +523,9 @@ int ff_twinvq_decode_frame(AVCodecContext *avctx, void > *data, > > *got_frame_ptr = 1; > > + // VQF can deliver packets 1 byte greater than block align > + if (buf_size == avctx->block_align + 1) > + return buf_size; Sure why not -- Anton Khirnov _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
