mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2025-02-11 07:05:43 +00:00
set pts for h.263 decoding
Originally committed as revision 4598 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
344b825ceb
commit
0f88407075
@ -5003,6 +5003,7 @@ int h263_decode_picture_header(MpegEncContext *s)
|
|||||||
i = get_bits(&s->gb, 8); /* picture timestamp */
|
i = get_bits(&s->gb, 8); /* picture timestamp */
|
||||||
if( (s->picture_number&~0xFF)+i < s->picture_number)
|
if( (s->picture_number&~0xFF)+i < s->picture_number)
|
||||||
i+= 256;
|
i+= 256;
|
||||||
|
s->current_picture_ptr->pts=
|
||||||
s->picture_number= (s->picture_number&~0xFF) + i;
|
s->picture_number= (s->picture_number&~0xFF) + i;
|
||||||
|
|
||||||
/* PTYPE starts here */
|
/* PTYPE starts here */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user