Commit 3a8e375a authored by Diego Biurrun's avatar Diego Biurrun

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
parent 4929c636
......@@ -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 */
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment