On 22 Apr 2014, at 23:16, Derek Buitenhuis <[email protected]> wrote:
> Signed-off-by: Derek Buitenhuis <[email protected]> > --- > libavcodec/fic.c | 21 ++++++++------------- > 1 file changed, 8 insertions(+), 13 deletions(-) > > diff --git a/libavcodec/fic.c b/libavcodec/fic.c > index 0f9f798..b2e18cd 100644 > --- a/libavcodec/fic.c > +++ b/libavcodec/fic.c > @@ -270,6 +270,12 @@ static int fic_decode_frame(AVCodecContext *avctx, void > *data, > return ret; > } > > + ctx->final_frame = data; > + if ((ret = ff_get_buffer(avctx, ctx->final_frame, 0)) < 0) { > + av_log(avctx, AV_LOG_ERROR, "COuld not allocate frame buffer.\n"); Be sure to fix this typo if you plan to re-introduce this patch. Tim _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
