[FFmpeg-devel] [PATCHES] Two small patches: zero-length warn and no SDL init with -an.

Clément Bœsch clement.boesch at smartjog.com
Tue Jun 21 11:51:12 CEST 2011


Hi,

Here are two small patches. First one is to correct an annoying
unjustified warning ("warning: zero-length gnu_printf format string").
Maybe there is another preferred way to do it (put a dummy string or
something), but it may be better to not bikeshed much about this issue.

The second patch is an attempt to avoid audio getting initialized when -an
is specified: I have a valgrind warning reporting an issue in the asound
library init routine on my system, and couldn't get rid of it with -an.

Something similar may be done with the video, but I'm not sure how to deal
with the -vn and -nodisp, and I don't have any video driver issue yet so I
guess I don't care much about it.

Regards,

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-zero-length-gnu_printf-format-string-warning.patch
Type: text/x-diff
Size: 1631 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110621/92894e9f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-ffplay-do-not-init-SDL-audio-if-an-is-specified.patch
Type: text/x-diff
Size: 786 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110621/92894e9f/attachment-0001.bin>


More information about the ffmpeg-devel mailing list