On Tue, 7 Feb 2012 15:52:56 -0500, Justin Ruggles <[email protected]> wrote: > --- > libavcodec/utils.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/libavcodec/utils.c b/libavcodec/utils.c > index 013c7b4..07053f4 100644 > --- a/libavcodec/utils.c > +++ b/libavcodec/utils.c > @@ -893,6 +893,8 @@ int attribute_align_arg > avcodec_encode_audio2(AVCodecContext *avctx, > avctx->time_base); > } > avpkt->dts = avpkt->pts; > + } else { > + avpkt->size = 0; > } > } else { > /* for compatibility with encoders not supporting encode2(), we need > to > -- > 1.7.1 >
LGTM -- Anton Khirnov _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
