[FFmpeg-devel] [PATCH ]FLV Metadata

Tomás Touceda chiiph
Thu Sep 2 22:20:58 CEST 2010


2010/8/14 Aurelien Jacobs <aurel at gnuage.org>:
[snip]
>
>> diff -Naur ffmpeg-9999.old/libavformat/flvenc.c ffmpeg-9999/libavformat/flvenc.c
>> --- ffmpeg-9999.old/libavformat/flvenc.c ? ? ?2010-08-12 23:55:16.000000000 -0300
>> +++ ffmpeg-9999/libavformat/flvenc.c ?2010-08-12 23:56:15.000000000 -0300
>> @@ -22,6 +22,7 @@
>> ?#include "flv.h"
>> ?#include "internal.h"
>> ?#include "avc.h"
>> +#include "metadata.h"
>>
>> ?#undef NDEBUG
>> ?#include <assert.h>
>> @@ -257,6 +258,15 @@
>> ? ? ? ? ?put_amf_double(pb, audio_enc->codec_tag);
>> ? ? ?}
>>
>> + ? ?if(s->metadata) {
>
> This test is useless. Just remove it.
>
>> + ? ? ? ?AVMetadataTag *tag = NULL;
>> + ? ? ? ?while((tag = av_metadata_get(s->metadata, "", tag, AV_METADATA_IGNORE_SUFFIX))) {
>
> Add a space between while and (.
>

Done. Any other changes I should make?

Cheers,
Tomas

> Aurel
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-metadata.patch
Type: text/x-patch
Size: 783 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100902/1d2f979a/attachment.bin>



More information about the ffmpeg-devel mailing list