[FFmpeg-devel] [PATCH] check that incoming data is identified as H.264

Michael Niedermayer michaelni
Tue Mar 1 21:31:44 CET 2011

On Sun, Feb 27, 2011 at 10:43:32PM -0500, Sean McGovern wrote:
> How's this for a message? is av_log OK or should I just use
> fprintf(stderr, ...)?
>            av_log(avctx, AV_LOG_WARNING, "Warning: input buffer not
> allocated.\n");

fprintf() will not compile inside libav*, yes av_log() is the right choice

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I have often repented speaking, but never of holding my tongue.
-- Xenocrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110301/367784dd/attachment.pgp>

More information about the ffmpeg-devel mailing list