[FFmpeg-devel] [PATCH]: fix ES name in the UMF media description
Martin Storsjö
martin
Wed Jul 21 09:46:30 CEST 2010
On Tue, 20 Jul 2010, Thierry Foucu wrote:
> On Wed, Jul 14, 2010 at 11:18 AM, Thierry Foucu <tfoucu at gmail.com> wrote:
>
> > On Wed, Jul 14, 2010 at 11:01 AM, Baptiste Coudurier <
> > baptiste.coudurier at gmail.com> wrote:
> >
> >> On 07/14/2010 10:48 AM, Thierry Foucu wrote:
> >>
> >>> On Wed, Jul 14, 2010 at 10:47 AM, Thierry Foucu<tfoucu at gmail.com>
> >>> wrote:
> >>> [...]
> >>>
> >>>
> >>> Index: libavformat/gxfenc.c
> >>> ===================================================================
> >>> --- libavformat/gxfenc.c (revision 24229)
> >>> +++ libavformat/gxfenc.c (working copy)
> >>> @@ -550,9 +550,9 @@
> >>> put_le32(pb, 0); /* attributes rw, ro */
> >>> put_le32(pb, 0); /* mark in */
> >>> put_le32(pb, gxf->nb_fields); /* mark out */
> >>> - put_buffer(pb, ES_NAME_PATTERN, sizeof(ES_NAME_PATTERN));
> >>> + put_buffer(pb, ES_NAME_PATTERN, strlen(ES_NAME_PATTERN));
> >>> put_be16(pb, sc->media_info);
> >>> - for (j = sizeof(ES_NAME_PATTERN)+2; j< 88; j++)
> >>> + for (j = strlen(ES_NAME_PATTERN)+2; j< 88; j++)
> >>> put_byte(pb, 0);
> >>> put_le32(pb, sc->track_type);
> >>> put_le32(pb, sc->sample_rate);
> >>>
> >>
> >> Patch ok.
> >>
> >>
> > Thanks. When you have time, could you apply it as I do not have write
> > access.
> >
>
> not applied?
Applied now.
// Martin
More information about the ffmpeg-devel
mailing list