[FFmpeg-devel] [PATCH] FLV meta injection (similartoFLVTOOLS2but an addon patch for FFMPEG)

andrew andrew
Sun Aug 12 16:04:46 CEST 2007


thanks very much for the tips, Im really glad the mainters are so strict it makes entering a project like this much easier to follow! I now see the mistakes and have modified them. Please find the new base64 encoded patch attached.

> On Sun, 12 Aug 2007 11:45:08 +0000, andrew scribed:
> 
> >Please find the modified patch conforming to the 8.6 and 8.7 rules. If
> >there are still problem could I have a hint of which rule I have
> >broken? =) I think I got it all now but perhaps I make mistake, its
> >the first opensource project i have submitted to.
> 
> 
> thanks for submitting your patch! it is a nice feature but ffmpeg
> developers are strict about new patches.
> 
> 
> >> > Index: ffmpeg.c
> >> > ===================================================================
> >> > --- ffmpeg.c	(revision 10065)
> >> > +++ ffmpeg.c	(working copy)
> >> > @@ -33,6 +33,7 @@
> >> >  #include "opt.h"
> >> >  #include "fifo.h"
> >> >  #include "avstring.h"
> >> > +#include "flvenc.c"
> >> 
> >> are you serious?
> 
> 
> michael is saying that ffmpeg.c should not include flvenc.c 
> figure out how the other options are in the code base and
> follow that.
> 
> 
> >> [...]
> >> > @@ -42,6 +42,13 @@
> >> >  
> >> >  #define AMF_END_OF_OBJECT         0x09
> >> >  
> >> > +#define NUM_OF_ENTRIES 20
> >> > +
> >> > +#define AMF_CHILDNODE       3
> >> > +#define AMF_CHILDNODEVALUE  10
> >> > +#define AMF_PARENTNODE      9
> >> > +
> >> 
> >> these belong in the enum where the other AMF types are
> 
> michael means to put these under line 96 of libavformat/flv.h
> in that enum with the other AMF types.
> 
> -compn
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
> 

Andrew Butkus
butkus.co.uk

My public key for contacting me securely:

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.6 (GNU/Linux)

mQGiBEa4PeMRBADajg5zW8sM2AkcVfXf/xwKM0mc39MpSLCUwGib5riy4RVpzy4g
tS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1gK3d9EGmmwAevG
ZR77toj1kUnkta0ZnnZ0bd+cs9L/VWUBrA4Hk4fsXiLw94yAZyUyMA6topEi7vcD
JV/hTxtgb+xfnXygdzXtaG3sJlKYOv72aVnvfiELn5lKwOpGPmIyNKry51Pg2UFd
nzrgjrI5gHczEFjd4kC5l/Midi3XtY5EsfjMuDdN9+Ccs/P+JTSBv+bRSLMdNVrv
4F/Rvlz0d8eek2MgO5OnvSaXFr+1s+/+tb5bTAwA1MVUOGt3GjgFWk8rLim/9ESF
OMfTljs1GJp0sVsZ4wwNN+gqEg7vdXQsslqdkbbHNWbbbDa54OKG0y9T/nc1UbCM
wpul0IhJBBgRAgAJBQJGuD3oAhsMAAoJENJ5Bj3tTq6WUzcAoJIVpSZAYflDWhlh
mamFWG+xnRwtAKCLvw9B8LpfAYcvSTWhWvFldz0AAw==
=PDDZ
-----END PGP PUBLIC KEY BLOCK-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/octet-stream
Size: 9009 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070812/c4db94b1/attachment.obj>



More information about the ffmpeg-devel mailing list