Fix pts reordering code.
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 27 May 2010 00:31:45 +0000 (00:31 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 27 May 2010 00:31:45 +0000 (00:31 +0000)
This fixes a regression introduced when libavfilter support was added to ffplay.

Originally committed as revision 23343 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffplay.c

index 86040be..129cd28 100644 (file)
--- a/ffplay.c
+++ b/ffplay.c
@@ -1600,6 +1600,7 @@ static int input_get_buffer(AVCodecContext *codec, AVFrame *pic)
     pic->opaque = ref;
     pic->age    = INT_MAX;
     pic->type   = FF_BUFFER_TYPE_USER;
+    pic->reordered_opaque = codec->reordered_opaque;
     return 0;
 }