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/ituh263dec.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libavcodec/ituh263dec.c') diff --git a/libavcodec/ituh263dec.c b/libavcodec/ituh263dec.c index 25dd4d90fb..2ddc2274a3 100644 --- a/libavcodec/ituh263dec.c +++ b/libavcodec/ituh263dec.c @@ -885,7 +885,6 @@ int ff_h263_decode_picture_header(MpegEncContext *s) i = get_bits(&s->gb, 8); /* picture timestamp */ if( (s->picture_number&~0xFF)+i < s->picture_number) i+= 256; - s->current_picture_ptr->f.pts = s->picture_number= (s->picture_number&~0xFF) + i; /* PTYPE starts here */ -- cgit v1.2.3