changeset 6185:52bff8f1701f libavformat

Fix a warning in av_read_frame_internal Patch by Eli Friedman, eli dot friedman at gmail
author mstorsjo
date Mon, 28 Jun 2010 08:04:52 +0000
parents eb590b2816f8
children 83978c1b9739
files utils.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/utils.c	Sun Jun 27 17:51:17 2010 +0000
+++ b/utils.c	Mon Jun 28 08:04:52 2010 +0000
@@ -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{