mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
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
This commit is contained in:
parent
1f91cdce0b
commit
6fde7afa8d
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue