Skip to content
Snippets Groups Projects
Commit 7948a51b authored by wm4's avatar wm4 Committed by Anton Khirnov
Browse files

vdpau: don't assume Picture and H264Picture are the same


The code passed H264Picture* and Picture*, and assumed the
hwaccel_picture_private field was in the same place in both
structs. Somehow this happened to work in Libav, but broke in
FFmpeg (and probably subtly breaks in Libav too).

Signed-off-by: default avatarAnton Khirnov <anton@khirnov.net>
parent 82bb3048
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment