diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-10-27 15:33:37 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-10-28 09:28:29 +0100 |
commit | a1c5cc429d99216406170eac7e8352860076d3e8 (patch) | |
tree | c25e4c0aa179054e6393ada7a8eade8c28a18825 /libavcodec/h261dec.c | |
parent | 2ba68dd044ca8fc591139c05563840f546a9c0c0 (diff) | |
download | ffmpeg-a1c5cc429d99216406170eac7e8352860076d3e8.tar.gz |
lavc: don't set AVFrame.pts to random numbers in decoders.
Diffstat (limited to 'libavcodec/h261dec.c')
-rw-r--r-- | libavcodec/h261dec.c | 1 |
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 */ |