[vlc-commits] demux: asf: fix variable length reading.

Francois Cartegnie git at videolan.org
Mon Nov 25 14:38:51 CET 2013


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Nov  8 23:07:20 2013 +0900| [52dc9277520731fb378c65216da1cebff2cd7ed3] | committer: Francois Cartegnie

demux: asf: fix variable length reading.

While current spec doesn't make use of > WORD sizes,
the code was following the spec and reading variable length
up to 3 bytes precision and writing it to a (int *)...
This patch fixes signedness too.

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

 modules/demux/asf/asf.c |  121 ++++++++++++++++++++++++++++++++---------------
 1 file changed, 84 insertions(+), 37 deletions(-)

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


More information about the vlc-commits mailing list