[FFmpeg-devel] [PATCH] wavdec: refactor wav_read_header()

Derek Buitenhuis derek.buitenhuis at gmail.com
Fri Dec 19 21:15:26 CET 2014


On 12/19/2014 9:09 PM, Thomas Volkert wrote:
> +    	av_log(s, AV_LOG_ERROR, "invalid start code %c%c%c%c in RIFF header\n", tag & 0xFF, (tag >> 8) & 0xFF, (tag >> 16) & 0xFF, (tag >> 24) & 0xFF);

I'm sure printing possibly non-printable chars is a great idea. Nothing
could go wrong.

Use 0x%X or something please.

- Derek


More information about the ffmpeg-devel mailing list