mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-24 00:02:52 +00: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);
|
AVCodec *avcodec_find_decoder_by_name(const char *name);
|
||||||
void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode);
|
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_open(AVCodecContext *avctx, AVCodec *codec);
|
||||||
int avcodec_decode_audio(AVCodecContext *avctx, INT16 *samples,
|
int avcodec_decode_audio(AVCodecContext *avctx, INT16 *samples,
|
||||||
int *frame_size_ptr,
|
int *frame_size_ptr,
|
||||||
|
@ -67,7 +67,7 @@ void avcodec_get_context_defaults(AVCodecContext *s){
|
|||||||
* allocates a AVCodecContext and set it to defaults.
|
* allocates a AVCodecContext and set it to defaults.
|
||||||
* this can be deallocated by simply calling free()
|
* this can be deallocated by simply calling free()
|
||||||
*/
|
*/
|
||||||
AVCodecContext *avcodec_alloc_context(){
|
AVCodecContext *avcodec_alloc_context(void){
|
||||||
AVCodecContext *avctx= av_mallocz(sizeof(AVCodecContext));
|
AVCodecContext *avctx= av_mallocz(sizeof(AVCodecContext));
|
||||||
|
|
||||||
if(avctx==NULL) return NULL;
|
if(avctx==NULL) return NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user