changeset 4162:d9dede8fe890 libavformat

Remove inappropriate const qualifier from function argument, fixes the warning: libavformat/dvenc.c:256: warning: passing argument 2 of ¡Æav_fifo_generic_write¡Ç discards qualifiers from pointer target type
author diego
date Wed, 07 Jan 2009 01:19:48 +0000
parents 6a7275621c02
children 8d6512cbd657
files dv.h dvenc.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/dv.h	Tue Jan 06 22:11:04 2009 +0000
+++ b/dv.h	Wed Jan 07 01:19:48 2009 +0000
@@ -38,7 +38,7 @@
 
 typedef struct DVMuxContext DVMuxContext;
 DVMuxContext* dv_init_mux(AVFormatContext* s);
-int dv_assemble_frame(DVMuxContext *c, AVStream*, const uint8_t*, int, uint8_t**);
+int dv_assemble_frame(DVMuxContext *c, AVStream*, uint8_t*, int, uint8_t**);
 void dv_delete_mux(DVMuxContext*);
 
 #endif /* AVFORMAT_DV_H */
--- a/dvenc.c	Tue Jan 06 22:11:04 2009 +0000
+++ b/dvenc.c	Wed Jan 07 01:19:48 2009 +0000
@@ -231,7 +231,7 @@
  */
 
 int dv_assemble_frame(DVMuxContext *c, AVStream* st,
-                      const uint8_t* data, int data_size, uint8_t** frame)
+                      uint8_t* data, int data_size, uint8_t** frame)
 {
     int i, reqasize;