[FFmpeg-cvslog] r23842 - trunk/libavformat/utils.c

mstorsjo subversion
Mon Jun 28 10:04:52 CEST 2010


Author: mstorsjo
Date: Mon Jun 28 10:04:52 2010
New Revision: 23842

Log:
Fix a warning in av_read_frame_internal

Patch by Eli Friedman, eli dot friedman at gmail

Modified:
   trunk/libavformat/utils.c

Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c	Mon Jun 28 10:02:24 2010	(r23841)
+++ trunk/libavformat/utils.c	Mon Jun 28 10:04:52 2010	(r23842)
@@ -1077,7 +1077,7 @@ static int av_read_frame_internal(AVForm
                     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-cvslog mailing list