X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=cmdutils.c;h=abe56011347727321ff21bf05efff42563daff4c;hb=e7101a7f3f6d00c0f362b4ea781a5bfef0ceb257;hp=fd8ff50e3888649c7498627e4a2a663f46fc8169;hpb=99efd596267248ba5eae1b0e540d880368a402c3;p=ffmpeg diff --git a/cmdutils.c b/cmdutils.c index fd8ff50e388..abe56011347 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