mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Minor warning fix.
Originally committed as revision 977 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
a9c6830605
commit
7ffbb60ee7
@ -878,7 +878,7 @@ AVCodec *avcodec_find_decoder(enum CodecID id);
|
||||
AVCodec *avcodec_find_decoder_by_name(const char *name);
|
||||
void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode);
|
||||
|
||||
AVCodecContext *avcodec_alloc_context();
|
||||
AVCodecContext *avcodec_alloc_context(void);
|
||||
int avcodec_open(AVCodecContext *avctx, AVCodec *codec);
|
||||
int avcodec_decode_audio(AVCodecContext *avctx, INT16 *samples,
|
||||
int *frame_size_ptr,
|
||||
|
@ -67,7 +67,7 @@ void avcodec_get_context_defaults(AVCodecContext *s){
|
||||
* allocates a AVCodecContext and set it to defaults.
|
||||
* this can be deallocated by simply calling free()
|
||||
*/
|
||||
AVCodecContext *avcodec_alloc_context(){
|
||||
AVCodecContext *avcodec_alloc_context(void){
|
||||
AVCodecContext *avctx= av_mallocz(sizeof(AVCodecContext));
|
||||
|
||||
if(avctx==NULL) return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user