diff options
author | Dominique Leuenberger <dominique-ffmpeg-devel@leuenberger.net> | 2009-01-07 23:37:03 +0000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2009-01-07 23:37:03 +0000 |
commit | 6fde7afa8d085f6555911e3e45d918e26cdf2e96 (patch) | |
tree | c61985855582713e2919aecbf8294cbdc4e99f68 /libavformat/rmdec.c | |
parent | 1f91cdce0b95b9395bd8d085146dcc8b06418614 (diff) | |
download | ffmpeg-6fde7afa8d085f6555911e3e45d918e26cdf2e96.tar.gz |
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)
Originally committed as revision 16489 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rmdec.c')
-rw-r--r-- | libavformat/rmdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c index f6e88d159f..fc066dfa40 100644 --- a/libavformat/rmdec.c +++ b/libavformat/rmdec.c @@ -546,7 +546,7 @@ static int rm_assemble_video_frame(AVFormatContext *s, ByteIOContext *pb, 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, |