[FFmpeg-cvslog] r16489 - trunk/libavformat/rmdec.c
cehoyos
subversion
Thu Jan 8 00:37:04 CET 2009
Author: cehoyos
Date: Thu Jan 8 00:37:03 2009
New Revision: 16489
Log:
Fix a compiler warning:
libavformat/rmdec.c:550: warning: assignment makes pointer from integer
Patch by Dominique Leuenberger (dominique-ffmpeg-devel A leuenberger D net)
Modified:
trunk/libavformat/rmdec.c
Modified: trunk/libavformat/rmdec.c
==============================================================================
--- trunk/libavformat/rmdec.c Thu Jan 8 00:36:34 2009 (r16488)
+++ trunk/libavformat/rmdec.c Thu Jan 8 00:37:03 2009 (r16489)
@@ -546,7 +546,7 @@ static int rm_assemble_video_frame(AVFor
if(type == 2 || (vst->videobufpos) == vst->videobufsize){
vst->pkt.data[0] = vst->cur_slice-1;
*pkt= vst->pkt;
- vst->pkt.data=
+ vst->pkt.data= NULL;
vst->pkt.size= 0;
if(vst->slices != vst->cur_slice) //FIXME find out how to set slices correct from the begin
memmove(pkt->data + 1 + 8*vst->cur_slice, pkt->data + 1 + 8*vst->slices,
More information about the ffmpeg-cvslog
mailing list