mirror of https://git.ffmpeg.org/ffmpeg.git
fix the patch to allow Sony PSP MP4 creation
Originally committed as revision 3893 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
888053179c
commit
46103f6bbd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue