[FFmpeg-devel] [PATCH] at lots of const to lavf

Baptiste Coudurier baptiste.coudurier
Wed Aug 27 02:05:54 CEST 2008


Hi,

Reimar D?ffinger wrote:
> On Sun, Aug 24, 2008 at 04:31:49PM +0200, Michael Niedermayer wrote:
>> On Sun, Aug 24, 2008 at 03:55:23PM +0200, Reimar D?ffinger wrote:
>>> not sure if all of these make sense (those that are not enabled on my
>>> system are not even tested).
>> ok
> 
> Most applied. Here are the parts I want the corresponding maintainers to
> have a chance to look at it (because I find the change ugly or there
> is an active maintainer and it is code I never touched).
> I will apply in a few days if nobody responds.
> 
> Greetings,
> Reimar D?ffinger
> 
> 
> ------------------------------------------------------------------------
> 
> diff --git a/libavformat/isom.c b/libavformat/isom.c
> index 3594020..fa45f9d 100644
> --- a/libavformat/isom.c
> +++ b/libavformat/isom.c
> @@ -212,7 +212,7 @@ const AVCodecTag ff_codec_movsubtitle_tags[] = {
>  /* cf. QTFileFormat.pdf p253, qtff.pdf p205 */
>  /* http://developer.apple.com/documentation/mac/Text/Text-368.html */
>  /* deprecated by putting the code as 3*5bit ascii */
> -static const char *mov_mdhd_language_map[] = {
> +static const char * const mov_mdhd_language_map[] = {
>      /* 0-9 */
>      "eng", "fra", "ger", "ita", "dut", "sve", "spa", "dan", "por", "nor",
>      "heb", "jpn", "ara", "fin", "gre", "ice", "mlt", "tur", "hr "/*scr*/, "chi"/*ace?*/,

Ok.

[...]

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
Smartjog USA Inc.                                http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA




More information about the ffmpeg-devel mailing list