[FFmpeg-devel] [PATCH] Fix warning in libavformat/utils.c
Eli Friedman
eli.friedman
Sun Jun 27 18:49:55 CEST 2010
Patch attached; st->cur_pkt.destruct and st->cur_pkt.data have
completely different types, so the assignment warns.
-Eli
-------------- next part --------------
Index: libavformat/utils.c
===================================================================
--- libavformat/utils.c (revision 23826)
+++ libavformat/utils.c (working copy)
@@ -1077,7 +1077,7 @@
if(pkt->data == st->cur_pkt.data && pkt->size == st->cur_pkt.size){
s->cur_st = NULL;
pkt->destruct= st->cur_pkt.destruct;
- st->cur_pkt.destruct=
+ st->cur_pkt.destruct= NULL;
st->cur_pkt.data = NULL;
assert(st->cur_len == 0);
}else{
More information about the ffmpeg-devel
mailing list