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,
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to