mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-25 04:30:02 +00:00
Revert get_num() to old behaviour in order to handle
incorrect RMs generated by lavf muxer. Originally committed as revision 10892 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
0ac0703107
commit
83c95cd462
@ -366,7 +366,7 @@ static int get_num(ByteIOContext *pb, int *len)
|
||||
|
||||
n = get_be16(pb);
|
||||
(*len)-=2;
|
||||
n &= 0x7FFF;
|
||||
// n &= 0x7FFF;
|
||||
if (n >= 0x4000) {
|
||||
return n - 0x4000;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user