2017-12-29 19:12 GMT+01:00 Devin Heitmueller <dheitmuel...@ltnglobal.com>:

> +    uint8_t *outbuf = NULL;

> +    if (st->codecpar->codec_id == AV_CODEC_ID_AC3)
> +        av_free(outbuf);

The "if()" should not be necessary, free() and av_free()
may be called with argument "NULL".

Carl Eugen
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to