fix the patch to allow Sony PSP MP4 creation

Originally committed as revision 3893 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
François Revol 20 years ago
parent 888053179c
commit 46103f6bbd
  1. 4
      libavformat/movenc.c

@ -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…
Cancel
Save