[FFmpeg-devel] MP2 file tagged with MP3

herve.flores herve.flores
Sat Aug 4 09:44:52 CEST 2007


Le 4 ao?t 07 ? 00:37, Baptiste Coudurier a ?crit :
>>
>> On Fri, Aug 03, 2007 at 07:07:15PM +0200, herve.flores wrote:
>>> Hi,
>>> since r9102, ffmpeg write headers of mp2 files with mp3 tags
>>> related threads
>>>
>>>
> Well, having id3 tag when writing mp2 files, when stream copy for
> example, might be annoying, if user wants id3 tag he can use .mp3 and
> -acodec mp2.
>
> Attached patch should fix it, Herve.
>
> --  
> Baptiste COUDURIER                              GnuPG Key Id:  
> 0x5C1ABAAA
> SMARTJOG S.A.                                    http:// 
> www.smartjog.com
> Key fingerprint                  
> 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
> Phone: +33 1 49966312
> Index: libavformat/mp3.c
> ===================================================================
> --- libavformat/mp3.c	(revision 9879)
> +++ libavformat/mp3.c	(working copy)
> @@ -608,7 +608,7 @@
>      0,
>      CODEC_ID_MP2,
>      0,
> -    mp3_write_header,
> +    NULL,
>      mp3_write_packet,
>      mp3_write_trailer,
>  };

works great, thanks :-)

Herv?



More information about the ffmpeg-devel mailing list