Commit fb803867 authored by michael's avatar michael

set pts for h.263 decoding


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@4598 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 32e7c805
......@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment