Originally committed as revision 13763 to svn://svn.ffmpeg.org/ffmpeg/trunk
static void mov_write_ftyp_tag(ByteIOContext *pb, AVFormatContext *s)
{
MOVContext *mov = s->priv_data;
static void mov_write_ftyp_tag(ByteIOContext *pb, AVFormatContext *s)
{
MOVContext *mov = s->priv_data;
+ offset_t pos = url_ftell(pb);
- put_be32(pb, 0x14); /* size */
+ put_be32(pb, 0); /* size */
put_tag(pb, "ftyp");
if (mov->mode == MODE_3GP)
put_tag(pb, "ftyp");
if (mov->mode == MODE_3GP)
put_tag(pb, "isom");
else
put_tag(pb, "qt ");
put_tag(pb, "isom");
else
put_tag(pb, "qt ");
+ return updateSize(pb, pos);
}
static void mov_write_uuidprof_tag(ByteIOContext *pb, AVFormatContext *s)
}
static void mov_write_uuidprof_tag(ByteIOContext *pb, AVFormatContext *s)