changeset 2886:5576a9349ab6 libavcodec

set pts for h.263 decoding
author michael
date Mon, 19 Sep 2005 12:03:51 +0000
parents 5dfb90019814
children 28084132c417
files h263.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/h263.c	Sun Sep 18 21:21:01 2005 +0000
+++ b/h263.c	Mon Sep 19 12:03:51 2005 +0000
@@ -5003,6 +5003,7 @@
     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 */