diff options
author | 2002-02-17 20:51:50 +0000 | |
---|---|---|
committer | 2002-02-17 20:51:50 +0000 | |
commit | b3b3eb2a9a64f2fca992a7c52385c4486b0bc5d2 (patch) | |
tree | 782f47f58c3eb8b930ab09f500bc09be48bdfbf3 /dec_video.c | |
parent | 99157727740dcc27ff8965071a862ec40c9c16aa (diff) |
ffmjpeg yv12 422 fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4751 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'dec_video.c')
-rw-r--r-- | dec_video.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dec_video.c b/dec_video.c index 24e040fa95..acb05b23bd 100644 --- a/dec_video.c +++ b/dec_video.c @@ -1024,6 +1024,10 @@ if(verbose>1){ mpi->stride[0]=lavc_picture.linesize[0]; mpi->stride[1]=lavc_picture.linesize[1]; mpi->stride[2]=lavc_picture.linesize[2]; + if(lavc_context.pix_fmt==PIX_FMT_YUV422P){ + mpi->stride[1]*=2; + mpi->stride[2]*=2; + } //stride[1]=stride[2]=0; //stride[0]/=2; |