[vlc-commits] demux: mp4: rewrite stts/ctts processing

Francois Cartegnie git at videolan.org
Wed Apr 9 20:23:09 CEST 2014


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Apr  9 17:33:41 2014 +0200| [2bfcc58d55ac6650abf6aea00f501f7a2cb3bbc2] | committer: Francois Cartegnie

demux: mp4: rewrite stts/ctts processing

in a way to get rid of most limits checks.
Fixes the corner case where i_rest was always 0 and
the index kept incrementing (source of prev oob access)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2bfcc58d55ac6650abf6aea00f501f7a2cb3bbc2
---

 modules/demux/mp4/mp4.c |  369 ++++++++++++++++++++++++-----------------------
 1 file changed, 190 insertions(+), 179 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=2bfcc58d55ac6650abf6aea00f501f7a2cb3bbc2


More information about the vlc-commits mailing list