changeset 4173:6088f5935138 libavformat

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)
author cehoyos
date Wed, 07 Jan 2009 23:37:03 +0000
parents fdadd576d584
children 8572dd01c69d
files rmdec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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,