Commit 663dd8f4 authored by Thomas Guillem's avatar Thomas Guillem

mediacodec: fix invalid pointer aliasing

Pointed-out-by: Zhao Zhili's avatarZhao Zhili <>
parent b517819e
......@@ -441,8 +441,7 @@ static int UpdateVout(decoder_t *p_dec)
assert(p_dec->fmt_out.i_codec == VLC_CODEC_ANDROID_OPAQUE);
p_dec-> = p_dec->;
video_format_TransformTo(&p_dec->, ORIENT_NORMAL);
if (decoder_UpdateVideoFormat(p_dec) != 0)
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