diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-09-19 12:03:51 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-09-19 12:03:51 +0000 |
commit | 0f8840707500538c37db3239e8e6443773877ab5 (patch) | |
tree | 21e39a7571dcbc7bb74ea32786be3d244346e192 /libavcodec | |
parent | 344b825cebd2aa3f36316fdfbc4d564c9ce1d02c (diff) | |
download | ffmpeg-0f8840707500538c37db3239e8e6443773877ab5.tar.gz |
set pts for h.263 decoding
Originally committed as revision 4598 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/h263.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h263.c b/libavcodec/h263.c index f640968db1..8d15461f6e 100644 --- a/libavcodec/h263.c +++ b/libavcodec/h263.c @@ -5003,6 +5003,7 @@ int 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->pts= s->picture_number= (s->picture_number&~0xFF) + i; /* PTYPE starts here */ |