[FFmpeg-devel] MOV Muxer fix to respect the standard

Reimar Döffinger Reimar.Doeffinger
Fri May 22 17:03:01 CEST 2009


On Fri, May 22, 2009 at 04:59:55PM +0200, Larbi Joubala wrote:
> Index: movenc.c
> ===================================================================
> --- movenc.c	(revision 18893)
> +++ movenc.c	(working copy)
> @@ -1013,8 +1013,11 @@
>      put_be32(pb ,0); /* reserved */
>      put_be32(pb ,0); /* reserved */
>      put_be32(pb ,0); /* reserved */
> -    put_byte(pb, strlen(descr)); /* string counter */
> +    if (track && track->mode == MODE_MOV || !track)
> +        put_byte(pb, strlen(descr)); /* string counter */

if (!track || track->mode == MODE_MOV)

but anyway I doubt this should depend on some per-track property.



More information about the ffmpeg-devel mailing list