On Tue, Oct 25, 2011 at 11:44:03AM -0400, Justin Ruggles wrote: > This is already done in avcodec_decode_audio3() > --- > libavcodec/alac.c | 4 ---- > 1 files changed, 0 insertions(+), 4 deletions(-) > > diff --git a/libavcodec/alac.c b/libavcodec/alac.c > index 4b44219..1056e6c 100644 > --- a/libavcodec/alac.c > +++ b/libavcodec/alac.c > @@ -368,10 +368,6 @@ static int alac_decode_frame(AVCodecContext *avctx, > uint8_t interlacing_leftweight; > int i, ch; > > - /* short-circuit null buffers */ > - if (!inbuffer || !input_buffer_size) > - return -1; > - > init_get_bits(&alac->gb, inbuffer, input_buffer_size * 8); > > channels = get_bits(&alac->gb, 3) + 1; > --
OK _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
