diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-12-26 01:53:45 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-12-26 01:53:45 +0100 |
commit | 67c1acf2346be50af4f4656b4db85ade2a6d179d (patch) | |
tree | a1ff1113da0210dd4ed33fdb86f4f5b6e9050c83 /libavcodec/utils.c | |
parent | 169dfe320d3a1ec4ebc5d8d54663c226242d07b4 (diff) | |
download | ffmpeg-streaming-67c1acf2346be50af4f4656b4db85ade2a6d179d.zip ffmpeg-streaming-67c1acf2346be50af4f4656b4db85ade2a6d179d.tar.gz |
lavc/utils: fix 'warning: missing braces around initializer'
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r-- | libavcodec/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 8a9d7a8..b366995 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -1295,7 +1295,7 @@ int attribute_align_arg avcodec_encode_audio(AVCodecContext *avctx, const short *samples) { AVPacket pkt; - AVFrame frame0 = { 0 }; + AVFrame frame0 = {{0}}; AVFrame *frame; int ret, samples_size, got_packet; @@ -1665,7 +1665,7 @@ int attribute_align_arg avcodec_decode_audio3(AVCodecContext *avctx, int16_t *sa int *frame_size_ptr, AVPacket *avpkt) { - AVFrame frame = {0}; + AVFrame frame = {{0}}; int ret, got_frame = 0; if (avctx->get_buffer != avcodec_default_get_buffer) { |