[FFmpeg-devel] [PATCH] avi metadata conv table

Anton Khirnov wyskas
Fri Feb 5 20:36:56 CET 2010


On Fri, Feb 05, 2010 at 07:43:22PM +0100, Michael Niedermayer wrote:
> 
> char key[5]={0}
> AV_WL32(key, tag);
> (simpler IMHO)
> 
done
> 
> nothing in there uses AVFormatContext thus the changes is pointless
> 
right, fixed
> 
> [...]
> > @@ -378,15 +366,13 @@ static int avi_write_header(AVFormatContext *s)
> >  
> >      list2 = ff_start_tag(pb, "LIST");
> >      put_tag(pb, "INFO");
> > -    avi_write_info_tag2(s, NULL, "INAM", "Title", NULL);
> > -    avi_write_info_tag2(s, NULL, "IART", "Artist", "Author");
> > -    avi_write_info_tag2(s, NULL, "ICOP", "Copyright", NULL);
> > -    avi_write_info_tag2(s, NULL, "ICMT", "Comment", NULL);
> > -    avi_write_info_tag2(s, NULL, "IPRD", "Album", NULL);
> > -    avi_write_info_tag2(s, NULL, "IGNR", "Genre", NULL);
> > -    avi_write_info_tag2(s, NULL, "IPRT", "Track", NULL);
> 
> > -    if(!(s->streams[0]->codec->flags & CODEC_FLAG_BITEXACT))
> > -        avi_write_info_tag(pb, "ISFT", LIBAVFORMAT_IDENT);
> 
> you seem to be loosing this in your patch
> 
fixed

btw i was wondering if it really belongs here and not in the client app.

Anton Khirnov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-AVI-metadata-conversion-table.patch
Type: text/x-diff
Size: 10083 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100205/72d300af/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100205/72d300af/attachment.pgp>



More information about the ffmpeg-devel mailing list