mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 20:19:55 +00:00
Change ff_rm_read_mdpr_codecdata to get back to old behavior.
Originally committed as revision 10954 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
8cd4ac3d63
commit
36c9e40ab4
@ -193,7 +193,7 @@ ff_rm_read_mdpr_codecdata (AVFormatContext *s, AVStream *st)
|
||||
{
|
||||
ByteIOContext *pb = &s->pb;
|
||||
unsigned int v;
|
||||
int codec_data_size, size, res = -1;
|
||||
int codec_data_size, size;
|
||||
int64_t codec_pos;
|
||||
|
||||
codec_data_size = get_be32(pb);
|
||||
@ -247,13 +247,12 @@ ff_rm_read_mdpr_codecdata (AVFormatContext *s, AVStream *st)
|
||||
}
|
||||
}
|
||||
|
||||
res = 0;
|
||||
skip:
|
||||
/* skip codec info */
|
||||
size = url_ftell(pb) - codec_pos;
|
||||
url_fskip(pb, codec_data_size - size);
|
||||
|
||||
return res;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user