Mercurial > libavformat.hg
changeset 663:570274d13064 libavformat
fix the patch to allow Sony PSP MP4 creation
author | mmu_man |
---|---|
date | Fri, 28 Jan 2005 08:08:42 +0000 |
parents | 549e594a13c2 |
children | 76d0af843707 |
files | movenc.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/movenc.c Thu Jan 27 16:11:31 2005 +0000 +++ b/movenc.c Fri Jan 28 08:08:42 2005 +0000 @@ -395,7 +395,7 @@ static int mov_write_esds_tag(ByteIOContext *pb, MOVTrack* track) // Basic { - int decoderSpecificInfoLen = track->vosLen ? descrLength(track->vosLen):0; + int decoderSpecificInfoLen; int pos = url_ftell(pb); void *vosDataBackup=track->vosData; int vosLenBackup=track->vosLen; @@ -420,6 +420,8 @@ } } + decoderSpecificInfoLen = track->vosLen ? descrLength(track->vosLen):0; + put_be32(pb, 0); // size put_tag(pb, "esds"); put_be32(pb, 0); // Version