On Mon, 10 Feb 2014 08:53:20 -0700, John Stebbins <stebb...@jetheaddev.com> wrote: > --- > libavcodec/utils.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/libavcodec/utils.c b/libavcodec/utils.c > index 46f339f..b2b11ef 100644 > --- a/libavcodec/utils.c > +++ b/libavcodec/utils.c > @@ -762,8 +762,11 @@ int ff_reget_buffer(AVCodecContext *avctx, AVFrame > *frame) > if (!frame->data[0]) > return ff_get_buffer(avctx, frame, AV_GET_BUFFER_FLAG_REF); > > - if (av_frame_is_writable(frame)) > + if (av_frame_is_writable(frame)) { > + frame->pkt_pts = avctx->internal->pkt ? avctx->internal->pkt->pts : > AV_NOPTS_VALUE; > + frame->reordered_opaque = avctx->reordered_opaque; > return 0; > + } > > av_frame_move_ref(&tmp, frame); > > -- > 1.8.5.3 >
Ok, thanks for the patch -- Anton Khirnov _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel