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

spyfeng subversion at mplayerhq.hu
Sat Apr 10 07:21:01 CEST 2010


Author: spyfeng
Date: Sat Apr 10 07:21:00 2010
New Revision: 5751

Log:
remove useless else if().

Modified:
   mms/mmst.c

Modified: mms/mmst.c
==============================================================================
--- mms/mmst.c	Sat Apr 10 07:17:39 2010	(r5750)
+++ mms/mmst.c	Sat Apr 10 07:21:00 2010	(r5751)
@@ -332,8 +332,8 @@ static MMSSCPacketType get_tcp_server_re
                             if (!p) {
                                 av_freep(&mms->asf_header);
                                 return AVERROR(ENOMEM);
-                            } else if (!mms->asf_header)
-                                mms->asf_header = p;
+                            }
+                            mms->asf_header = p;
                             memcpy(mms->asf_header + mms->asf_header_size,
                                                  mms->pkt_read_ptr,
                                                  mms->pkt_buf_len);


More information about the FFmpeg-soc mailing list