[FFmpeg-soc] [soc]: r5886 - in mms: mms.c mms.h

spyfeng subversion at mplayerhq.hu
Mon Aug 2 18:03:06 CEST 2010


Author: spyfeng
Date: Mon Aug  2 18:03:06 2010
New Revision: 5886

Log:
add const restrict for ff_mms_read_header() to consistent with ff_mms_read_data().

Modified:
   mms/mms.c
   mms/mms.h

Modified: mms/mms.c
==============================================================================
--- mms/mms.c	Mon Aug  2 17:58:36 2010	(r5885)
+++ mms/mms.c	Mon Aug  2 18:03:06 2010	(r5886)
@@ -24,7 +24,7 @@
 #include "asf.h"
 #include "libavutil/intreadwrite.h"
 
-int ff_mms_read_header(MMSContext *mms, uint8_t *buf, int size)
+int ff_mms_read_header(MMSContext *mms, uint8_t *buf, const int size)
 {
     char *pos;
     int size_to_copy;

Modified: mms/mms.h
==============================================================================
--- mms/mms.h	Mon Aug  2 17:58:36 2010	(r5885)
+++ mms/mms.h	Mon Aug  2 18:03:06 2010	(r5886)
@@ -58,5 +58,5 @@ typedef struct {
 
 int ff_mms_asf_header_parser(MMSContext * mms);
 int ff_mms_read_data(MMSContext *mms, uint8_t *buf, const int buf_size);
-int ff_mms_read_header(MMSContext * mms, uint8_t * buf, int size);
+int ff_mms_read_header(MMSContext * mms, uint8_t * buf, const int size);
 #endif


More information about the FFmpeg-soc mailing list