# HG changeset patch # User cehoyos # Date 1231371423 0 # Node ID 6088f593513854e57754ef528301a13d95d554b9 # Parent fdadd576d5841e856f52fd46f9c47956f022dc00 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) diff -r fdadd576d584 -r 6088f5935138 rmdec.c --- a/rmdec.c Wed Jan 07 20:44:23 2009 +0000 +++ b/rmdec.c Wed Jan 07 23:37:03 2009 +0000 @@ -546,7 +546,7 @@ 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,