[vlc-commits] Use newer theora API and fix crash
Theron Lewis
git at videolan.org
Sun Feb 12 15:44:44 CET 2012
vlc/vlc-2.0 | branch: master | Theron Lewis <theron at bittorrent.com> | 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 <jb at videolan.org>
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit 1014cc350fda0e8a1ffd368348a823cd9e84fce0)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> 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
More information about the vlc-commits
mailing list