Commit 46103f6b authored by François Revol's avatar François Revol

fix the patch to allow Sony PSP MP4 creation

Originally committed as revision 3893 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 88805317
......@@ -395,7 +395,7 @@ static void putDescr(ByteIOContext *pb, int tag, int size)
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 @@ static int mov_write_esds_tag(ByteIOContext *pb, MOVTrack* track) // Basic
}
}
decoderSpecificInfoLen = track->vosLen ? descrLength(track->vosLen):0;
put_be32(pb, 0); // size
put_tag(pb, "esds");
put_be32(pb, 0); // Version
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment