aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegvideo.c
diff options
context:
space:
mode:
authorChris Flerackers <cflerackers@androme.be>2004-05-18 17:23:49 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-05-18 17:23:49 +0000
commita7fcb3ea5c232f29fc95fae390a6eb127fddb024 (patch)
treeafb1e27a3e80beae2cfb528b9d2d43cf49c39f18 /libavcodec/mpegvideo.c
parente96682e6f4c1fbddf468f9f051729332163c1db9 (diff)
downloadffmpeg-a7fcb3ea5c232f29fc95fae390a6eb127fddb024.tar.gz
rtp callback context patch by ("Chris Flerackers" <cflerackers at androme dot be>)
Originally committed as revision 3141 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r--libavcodec/mpegvideo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index 246d480e56..e9dfaf3a6a 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -4102,7 +4102,7 @@ static int encode_thread(AVCodecContext *c, void *arg){
}
if (s->avctx->rtp_callback)
- s->avctx->rtp_callback(s->ptr_lastgob, current_packet_size, 0);
+ s->avctx->rtp_callback(s->avctx, s->ptr_lastgob, current_packet_size, 0);
switch(s->codec_id){
case CODEC_ID_MPEG4:
@@ -4543,7 +4543,7 @@ static int encode_thread(AVCodecContext *c, void *arg){
pdif = pbBufPtr(&s->pb) - s->ptr_lastgob;
/* Call the RTP callback to send the last GOB */
emms_c();
- s->avctx->rtp_callback(s->ptr_lastgob, pdif, 0);
+ s->avctx->rtp_callback(s->avctx, s->ptr_lastgob, pdif, 0);
}
return 0;