mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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
This commit is contained in:
parent
4929c63679
commit
3a8e375acf
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user