summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
authorlorenm <lorenm@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-02-13 07:00:37 +0000
committerlorenm <lorenm@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-02-13 07:00:37 +0000
commit394940b23ca0ca708eabc48f1b69008ad2abee4d (patch)
tree7be77ecbd9df6c2a3c052f0d8f76898d7526aa41 /libmpcodecs
parent498490bfbeba1ffcaf873553bbfac111f6bfef98 (diff)
downloadmpv-394940b23ca0ca708eabc48f1b69008ad2abee4d.tar.bz2
mpv-394940b23ca0ca708eabc48f1b69008ad2abee4d.tar.xz
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
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/vf_uspp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpcodecs/vf_uspp.c b/libmpcodecs/vf_uspp.c
index fab6ca47ae..80f25e181f 100644
--- a/libmpcodecs/vf_uspp.c
+++ b/libmpcodecs/vf_uspp.c
@@ -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