diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-12-05 15:52:16 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-12-05 15:58:07 +0100 |
commit | 2f980cf39a14f90b9356b51ef1ed6e7816f6aac3 (patch) | |
tree | faf8d16ad3dc12e37a8f2854bdab16192709f42b /cmdutils.c | |
parent | 874c5b02c4117d5261365d0de727c0b4dc9363f6 (diff) | |
parent | ff953fecffd3b9a616a046723fb9d4690be032a6 (diff) | |
download | ffmpeg-2f980cf39a14f90b9356b51ef1ed6e7816f6aac3.tar.gz |
Merge commit 'ff953fecffd3b9a616a046723fb9d4690be032a6'
* commit 'ff953fecffd3b9a616a046723fb9d4690be032a6':
lavc: set frame properties in ff_get_buffer().
Conflicts:
libavcodec/utils.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'cmdutils.c')
-rw-r--r-- | cmdutils.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/cmdutils.c b/cmdutils.c index fd8ff50e38..abe5601134 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -1657,11 +1657,6 @@ int codec_get_buffer(AVCodecContext *s, AVFrame *frame) frame->opaque = buf; frame->type = FF_BUFFER_TYPE_USER; frame->extended_data = frame->data; - frame->pkt_pts = s->pkt ? s->pkt->pts : AV_NOPTS_VALUE; - frame->width = buf->w; - frame->height = buf->h; - frame->format = buf->pix_fmt; - frame->sample_aspect_ratio = s->sample_aspect_ratio; for (i = 0; i < FF_ARRAY_ELEMS(buf->data); i++) { frame->base[i] = buf->base[i]; // XXX h264.c uses base though it shouldn't |