Commit 0d8b41c2 authored by Theron Lewis's avatar Theron Lewis Committed by 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: default avatarJean-Baptiste Kempf <jb@videolan.org>
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit 1014cc35)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 6c518adc
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment