]> git.sesse.net Git - vlc/commit
mmal/codec: Read opaque handle from picture_sys
authorJulian Scheel <julian@jusst.de>
Mon, 19 Jan 2015 10:30:21 +0000 (11:30 +0100)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 20 Jan 2015 06:06:32 +0000 (08:06 +0200)
commit3387d16d5acc4fb53df585efc50d6835dd2d3a94
treebd81eaf9be33fbcd5e127e46212f9cc9a4b925a6
parentee578201b4aefef5201440e3becf31bb97e29935
mmal/codec: Read opaque handle from picture_sys

Instead of assuming that p_pixels[0] points to the mmal opaque handle retrieve
it from the picture_sys structure. Using p_pixels for the pointer was broken
due to vlc core copying p_pixels only for formats with actual data.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
modules/hw/mmal/codec.c