Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-10-27 18:33:37 +0400
committerAnton Khirnov <anton@khirnov.net>2013-10-28 12:28:29 +0400
commita1c5cc429d99216406170eac7e8352860076d3e8 (patch)
treec25e4c0aa179054e6393ada7a8eade8c28a18825 /libavcodec/h261dec.c
parent2ba68dd044ca8fc591139c05563840f546a9c0c0 (diff)
lavc: don't set AVFrame.pts to random numbers in decoders.
Diffstat (limited to 'libavcodec/h261dec.c')
-rw-r--r--libavcodec/h261dec.c1
1 files changed, 0 insertions, 1 deletions
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 */