Commit 36c9e40a authored by Benoit Fouet's avatar Benoit Fouet

Change ff_rm_read_mdpr_codecdata to get back to old behavior.

Originally committed as revision 10954 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 8cd4ac3d
......@@ -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;
}
......
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