diff avcodec.h @ 2492:57ba17bd3924 libavcodec

rtp_callback: send number of mb patch by (Johan Bilien {jobi via.ecp fr)
author michael
date Wed, 02 Feb 2005 18:14:59 +0000
parents dfdb6bf4b90f
children 258120c61eea
line wrap: on
line diff
--- a/avcodec.h	Wed Feb 02 01:37:33 2005 +0000
+++ b/avcodec.h	Wed Feb 02 18:14:59 2005 +0000
@@ -17,7 +17,7 @@
 
 #define FFMPEG_VERSION_INT     0x000409
 #define FFMPEG_VERSION         "0.4.9-pre1"
-#define LIBAVCODEC_BUILD       4739
+#define LIBAVCODEC_BUILD       4740
 
 #define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT
 #define LIBAVCODEC_VERSION     FFMPEG_VERSION
@@ -859,8 +859,10 @@
     /* The RTP callcack: This function is called  */
     /* every time the encoder as a packet to send */
     /* Depends on the encoder if the data starts  */
-    /* with a Start Code (it should) H.263 does   */
-    void (*rtp_callback)(struct AVCodecContext *avctx, void *data, int size, int packet_number); 
+    /* with a Start Code (it should) H.263 does.  */
+    /* mb_nb contains the number of macroblocks   */
+    /* encoded in the RTP payload                 */
+    void (*rtp_callback)(struct AVCodecContext *avctx, void *data, int size, int mb_nb); 
 
     /* statistics, used for 2-pass encoding */
     int mv_bits;