[vlc-commits] Use newer theora API and fix crash
Theron Lewis
git at videolan.org
Sun Feb 12 14:34:04 CET 2012
vlc | branch: master | Theron Lewis <theron at bittorrent.com> | Fri Feb 10 14:52:37 2012 -0800| [1014cc350fda0e8a1ffd368348a823cd9e84fce0] | committer: Jean-Baptiste Kempf
Use newer theora API and fix crash
Close #3841
This updates the theora module to use the newer API introduced in Theora version 1.0.
It solves a crash on windows that was caused by reading past the end of the YUV structure due to an incorrect line count.
This has been fixed by using the minimum line count common to both the source and destination of the pixel data.
The new ycbcr structure in the new API makes the picture copy much more straightforward.
Modified-by: Jean-Baptiste Kempf <jb at videolan.org>
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1014cc350fda0e8a1ffd368348a823cd9e84fce0
---
modules/codec/theora.c | 291 +++++++++++++++++++++++++++++++-----------------
1 files changed, 190 insertions(+), 101 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=1014cc350fda0e8a1ffd368348a823cd9e84fce0
More information about the vlc-commits
mailing list