Commit 827129dd authored by Andre Pang's avatar Andre Pang

* modules/codec/theora.c: correctly display x-offset video

parent 1980dd4b
......@@ -545,7 +545,8 @@ static void theora_CopyPicture( decoder_t *p_dec, picture_t *p_pic,
for( i_line = 0; i_line < p_pic->p[i_plane].i_visible_lines; i_line++ )
{
p_dec->p_vlc->pf_memcpy( p_dst, p_src, i_width );
p_dec->p_vlc->pf_memcpy( p_dst, p_src + i_src_xoffset,
i_plane ? yuv->uv_width : yuv->y_width );
p_src += i_src_stride;
p_dst += i_dst_stride;
}
......
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