Mercurial > mplayer.hg
changeset 19219:7b6e341b72f5
10l, last commit swapped U and V planes.
author | reimar |
---|---|
date | Fri, 28 Jul 2006 17:56:38 +0000 |
parents | 950f60b90cf5 |
children | fbd2391fcbb8 |
files | libmpdemux/demux_avs.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_avs.c Fri Jul 28 17:04:43 2006 +0000 +++ b/libmpdemux/demux_avs.c Fri Jul 28 17:56:38 2006 +0000 @@ -199,10 +199,10 @@ w, h, w, curr_frame->pitch); dst += w * h; w /= 2; h /= 2; - memcpy_pic(dst, curr_frame->vfb->data + curr_frame->offsetU, + memcpy_pic(dst, curr_frame->vfb->data + curr_frame->offsetV, w, h, w, curr_frame->pitchUV); dst += w * h; - memcpy_pic(dst, curr_frame->vfb->data + curr_frame->offsetV, + memcpy_pic(dst, curr_frame->vfb->data + curr_frame->offsetU, w, h, w, curr_frame->pitchUV); ds_add_packet(demuxer->video, dp);