Fix an "assignment from incompatible pointer type" warning in av_read_frame_internal
Patch by Eli Friedman, eli dot friedman at gmail Originally committed as revision 23842 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
35614edb2d
commit
22d78b05b1
@ -1077,7 +1077,7 @@ static int av_read_frame_internal(AVFormatContext *s, AVPacket *pkt)
|
|||||||
if(pkt->data == st->cur_pkt.data && pkt->size == st->cur_pkt.size){
|
if(pkt->data == st->cur_pkt.data && pkt->size == st->cur_pkt.size){
|
||||||
s->cur_st = NULL;
|
s->cur_st = NULL;
|
||||||
pkt->destruct= st->cur_pkt.destruct;
|
pkt->destruct= st->cur_pkt.destruct;
|
||||||
st->cur_pkt.destruct=
|
st->cur_pkt.destruct= NULL;
|
||||||
st->cur_pkt.data = NULL;
|
st->cur_pkt.data = NULL;
|
||||||
assert(st->cur_len == 0);
|
assert(st->cur_len == 0);
|
||||||
}else{
|
}else{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user