# HG changeset patch # User diego # Date 1231291188 0 # Node ID d9dede8fe890aa49062c812fb5b07682cb632d44 # Parent 6a7275621c02b8ce9a24495eae04990c8b455224 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 diff -r 6a7275621c02 -r d9dede8fe890 dv.h --- 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 */ diff -r 6a7275621c02 -r d9dede8fe890 dvenc.c --- 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;