Mercurial > libavformat.hg
comparison dvenc.c @ 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 | 8af7a177b17d |
children | c3102b189cb6 |
comparison
equal
deleted
inserted
replaced
4161:6a7275621c02 | 4162:d9dede8fe890 |
---|---|
229 /* | 229 /* |
230 * The following 3 functions constitute our interface to the world | 230 * The following 3 functions constitute our interface to the world |
231 */ | 231 */ |
232 | 232 |
233 int dv_assemble_frame(DVMuxContext *c, AVStream* st, | 233 int dv_assemble_frame(DVMuxContext *c, AVStream* st, |
234 const uint8_t* data, int data_size, uint8_t** frame) | 234 uint8_t* data, int data_size, uint8_t** frame) |
235 { | 235 { |
236 int i, reqasize; | 236 int i, reqasize; |
237 | 237 |
238 *frame = &c->frame_buf[0]; | 238 *frame = &c->frame_buf[0]; |
239 reqasize = 4 * dv_audio_frame_size(c->sys, c->frames); | 239 reqasize = 4 * dv_audio_frame_size(c->sys, c->frames); |