From a1c5cc429d99216406170eac7e8352860076d3e8 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 27 Oct 2013 15:33:37 +0100 Subject: lavc: don't set AVFrame.pts to random numbers in decoders. --- libavcodec/h261dec.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libavcodec/h261dec.c') diff --git a/libavcodec/h261dec.c b/libavcodec/h261dec.c index f88831f084..479da77958 100644 --- a/libavcodec/h261dec.c +++ b/libavcodec/h261dec.c @@ -476,7 +476,6 @@ static int h261_decode_picture_header(H261Context *h) s->picture_number = (s->picture_number & ~31) + i; s->avctx->time_base = (AVRational) { 1001, 30000 }; - s->current_picture.f.pts = s->picture_number; /* PTYPE starts here */ skip_bits1(&s->gb); /* split screen off */ -- cgit v1.2.3