Commit f4dab51a authored by cehoyos's avatar cehoyos

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)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16489 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0d31be59
...@@ -546,7 +546,7 @@ static int rm_assemble_video_frame(AVFormatContext *s, ByteIOContext *pb, ...@@ -546,7 +546,7 @@ static int rm_assemble_video_frame(AVFormatContext *s, ByteIOContext *pb,
if(type == 2 || (vst->videobufpos) == vst->videobufsize){ if(type == 2 || (vst->videobufpos) == vst->videobufsize){
vst->pkt.data[0] = vst->cur_slice-1; vst->pkt.data[0] = vst->cur_slice-1;
*pkt= vst->pkt; *pkt= vst->pkt;
vst->pkt.data= vst->pkt.data= NULL;
vst->pkt.size= 0; vst->pkt.size= 0;
if(vst->slices != vst->cur_slice) //FIXME find out how to set slices correct from the begin 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, memmove(pkt->data + 1 + 8*vst->cur_slice, pkt->data + 1 + 8*vst->slices,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment