diff h263dec.c @ 231:840cd25bf259 libavcodec

- Fixes on RTP and GOB headers for H.263. - RTP callback system implemented for H.263/H.263+. - Bug fix on DC coefficients of H.263. - H.263 decoder now returns PTS on picture number.
author pulento
date Sat, 09 Feb 2002 16:59:56 +0000
parents 2eb04d6be309
children d1a9663b973b
line wrap: on
line diff
--- a/h263dec.c	Sat Feb 09 01:25:06 2002 +0000
+++ b/h263dec.c	Sat Feb 09 16:59:56 2002 +0000
@@ -225,6 +225,11 @@
     pict->linesize[2] = s->linesize / 2;
 
     avctx->quality = s->qscale;
+
+    /* Return the Picture timestamp as the frame number */
+    /* we substract 1 because it is added on utils.c    */
+    avctx->frame_number = s->picture_number - 1;
+
     *data_size = sizeof(AVPicture);
     return buf_size;
 }