diff options
author | Diego Biurrun | 2009-01-07 01:19:48 +0000 |
---|---|---|
committer | Diego Biurrun | 2009-01-07 01:19:48 +0000 |
commit | 3a8e375acf5d58552b77eba1aba4177205fcda91 (patch) | |
tree | 0bb142ebd4a20528e4b656191681b61dab463bdc /libavformat | |
parent | 4929c63679c8660762d253e05cb10e737aeadc11 (diff) |
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
Originally committed as revision 16460 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/dv.h | 2 | ||||
-rw-r--r-- | libavformat/dvenc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/dv.h b/libavformat/dv.h index a8c051456b..6bfb4ab0dd 100644 --- a/libavformat/dv.h +++ b/libavformat/dv.h @@ -38,7 +38,7 @@ void dv_offset_reset(DVDemuxContext *c, int64_t frame_offset); 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 --git a/libavformat/dvenc.c b/libavformat/dvenc.c index 7245e6e964..c8dc5a8301 100644 --- a/libavformat/dvenc.c +++ b/libavformat/dvenc.c @@ -231,7 +231,7 @@ static void dv_inject_metadata(DVMuxContext *c, uint8_t* frame) */ 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; |