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>
Showing
Please register or sign in to comment