mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-04-01 22:49:21 +00:00
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
|
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);
|
int pos = url_ftell(pb);
|
||||||
void *vosDataBackup=track->vosData;
|
void *vosDataBackup=track->vosData;
|
||||||
int vosLenBackup=track->vosLen;
|
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_be32(pb, 0); // size
|
||||||
put_tag(pb, "esds");
|
put_tag(pb, "esds");
|
||||||
put_be32(pb, 0); // Version
|
put_be32(pb, 0); // Version
|
||||||
|
Loading…
Reference in New Issue
Block a user