vlc/vlc-2.0 | branch: master | Theron Lewis <[email protected]> | Fri Feb 10 14:52:37 2012 -0800| [0d8b41c28a9f178deb3e02891a253c20c2efd2ed] | 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 <[email protected]> Signed-off-by: Jean-Baptiste Kempf <[email protected]> (cherry picked from commit 1014cc350fda0e8a1ffd368348a823cd9e84fce0) Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=0d8b41c28a9f178deb3e02891a253c20c2efd2ed --- modules/codec/theora.c | 291 +++++++++++++++++++++++++++++++----------------- 1 files changed, 190 insertions(+), 101 deletions(-) Diff: http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commitdiff;h=0d8b41c28a9f178deb3e02891a253c20c2efd2ed _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
