[FFmpeg-devel] [PATCH] Make pp_get_mode_by_name_and_quality accept constant strings
Michael Niedermayer
michaelni
Thu Jan 3 03:54:16 CET 2008
Hi
On Thu, Jan 03, 2008 at 02:05:52AM +0100, Diego 'Flameeyes' Petten? wrote:
>
> The attached patch makes the pp_get_mode_by_name_and_quality function
> (if I have to write the name again I'm probably going to cut my hands
> off) accept a constant string as name parameter, this way using it with
> -Wwrite-strings enabled and passing a literal won't trigger a warning
> (nor would using it with a literal and C++ code, but I know you don't
> care about that).
ok
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
When you are offended at any man's fault, turn to yourself and study your
own failings. Then you will forget your anger. -- Epictetus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080103/a52e4dfd/attachment.pgp>
More information about the ffmpeg-devel
mailing list