summaryrefslogtreecommitdiff
path: root/libavcodec/pthread.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2012-03-23 15:03:03 -0700
committerAnton Khirnov <anton@khirnov.net>2012-03-24 21:29:16 +0100
commitbc1ef85520b6b5adc1361841c24218a9d74454e8 (patch)
tree283d109fcc6ff8e8c8b388c115d85759ab8dbca5 /libavcodec/pthread.c
parente20ad71ebbf9fe1f1a0dbc0c4e98afa8a28dc88c (diff)
lavc/avconv: support changing frame sizes in codecs with frame mt.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/pthread.c')
-rw-r--r--libavcodec/pthread.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/pthread.c b/libavcodec/pthread.c
index 2e4c6a880e..bbbc4829ec 100644
--- a/libavcodec/pthread.c
+++ b/libavcodec/pthread.c
@@ -630,10 +630,6 @@ int ff_thread_decode_frame(AVCodecContext *avctx,
*picture = p->frame;
*got_picture_ptr = p->got_frame;
picture->pkt_dts = p->avpkt.dts;
- picture->sample_aspect_ratio = avctx->sample_aspect_ratio;
- picture->width = avctx->width;
- picture->height = avctx->height;
- picture->format = avctx->pix_fmt;
/*
* A later call with avkpt->size == 0 may loop over all threads,