[FFmpeg-devel] [PATCH v4 1/5] libavutil: VAAPI infrastructure

wm4 nfxjfg at googlemail.com
Sun Jan 24 13:03:02 CET 2016


On Sat, 23 Jan 2016 16:34:45 -0800
Timothy Gu <timothygu99 at gmail.com> wrote:

> On Sat, Jan 23, 2016 at 07:13:38PM +0000, Mark Thompson wrote:
> > +        av_log(0, AV_LOG_ERROR, "Failed to destroy surface: "
> > +               "%d (%s).\n", vas, vaErrorStr(vas));  
> 
> Maybe you can consider adding an AVClass just for logging. Either way the “0”
> needs to be “NULL.”

(0 is perfectly fine, some libcs even define NULL to 0.)


More information about the ffmpeg-devel mailing list