aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/matroska.c
diff options
context:
space:
mode:
authorReinhard Nissl <rnissl@gmx.de>2007-04-09 14:10:07 +0000
committerDiego Biurrun <diego@biurrun.de>2007-04-09 14:10:07 +0000
commitad1ea1f1552d3fff4a6a77ced099305e4378ad84 (patch)
tree93ed7a5a9166f0b5dd264f18cf205c726d0919fd /libavformat/matroska.c
parent6ac9696e774d0fd0905bf08415cc8c58ef1cb3e7 (diff)
downloadffmpeg-ad1ea1f1552d3fff4a6a77ced099305e4378ad84.tar.gz
When dst_length == 0 bit_length has to be 0, too, but the current code still
calls decode_rbsp_trailing() and therefore bit_length might get negative. Although the remaining code is able to handle a negative bit_length, avoid the calculation at all by setting bit_length to 0 for dst_length == 0. patch by Reinhard Nissl, rnissl gmx de Originally committed as revision 8690 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/matroska.c')
0 files changed, 0 insertions, 0 deletions