[FFmpeg-soc] [soc]: r5746 - mms/mmst.c

spyfeng subversion at mplayerhq.hu
Thu Apr 8 18:56:25 CEST 2010


Author: spyfeng
Date: Thu Apr  8 18:56:25 2010
New Revision: 5746

Log:
merge the statements.

Modified:
   mms/mmst.c

Modified: mms/mmst.c
==============================================================================
--- mms/mmst.c	Thu Apr  8 18:24:58 2010	(r5745)
+++ mms/mmst.c	Thu Apr  8 18:56:25 2010	(r5746)
@@ -580,10 +580,9 @@ static int mms_open(URLContext *h, const
     int ret;
 
     h->is_streamed = 1;
-    h->priv_data = av_mallocz(sizeof(MMSContext));
+    mms = h->priv_data = av_mallocz(sizeof(MMSContext));
     if (!h->priv_data)
         return AVERROR(ENOMEM);
-    mms = h->priv_data;
 
     // only for MMS over TCP, so set proto = NULL
     ff_url_split(NULL, 0, NULL, 0,


More information about the FFmpeg-soc mailing list