Author: spyfeng
Date: Sat Mar 27 16:36:24 2010
New Revision: 5724

Log:
free asf_header because we don't need it.

Modified:
   mms/mmst.c

Modified: mms/mmst.c
==============================================================================
--- mms/mmst.c  Sat Mar 27 04:32:37 2010        (r5723)
+++ mms/mmst.c  Sat Mar 27 16:36:24 2010        (r5724)
@@ -461,6 +461,7 @@ static int read_mms_packet(MMSContext *m
             result += size_to_copy;
             dprintf(NULL, "Copied %d bytes from stored header. left: %d\n",
                    size_to_copy, mms->asf_header_size - 
mms->asf_header_read_pos);
+            av_freep(&mms->asf_header);
         } else if(mms->pkt_buf_len) {
             /* Read from media packet buffer */
             read_data(mms, buf, buf_size, &result);
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to