lavc exposes the reconstructed picture, so no need to decode it again

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17615 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
lorenm 2006-02-13 07:00:37 +00:00
parent 498490bfbe
commit 394940b23c
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ static void filter(struct vf_priv_s *p, uint8_t *dst[3], uint8_t *src[3], int ds
p->frame->data[2]= p->src[2] + x1/2 + y1/2 * p->frame->linesize[2];
out_size = avcodec_encode_video(p->avctx_enc[i], p->outbuf, p->outbuf_size, p->frame);
avcodec_decode_video(p->avctx_dec[i], p->frame_dec, &got_picture, p->outbuf, out_size);
p->frame_dec = p->avctx_enc[i]->coded_frame;
offset= (BLOCK-x1) + (BLOCK-y1)*p->frame_dec->linesize[0];
//FIXME optimize