summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2014-11-08 18:32:29 +0100
committerJoerg Bornkessel <hd_brummy@gentoo.org>2014-11-08 18:32:29 +0100
commitb9eb1404f615159e8e32c55491b29b5e7f8a4328 (patch)
tree5945d31f420227c8a0531d667dc403abca3db4b4
parent6b4b5471c427900d6b28bffa14ff8ed908463bd8 (diff)
downloadvdr-plugin-audiorecorder-b9eb1404f615159e8e32c55491b29b5e7f8a4328.tar.gz
vdr-plugin-audiorecorder-b9eb1404f615159e8e32c55491b29b5e7f8a4328.tar.bz2
missing ()
-rw-r--r--convert.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/convert.c b/convert.c
index 28222fe..89adc08 100644
--- a/convert.c
+++ b/convert.c
@@ -128,7 +128,7 @@ void cConvert::decode_mpa_frame(mpeg_audio_frame *mpa_frame)
AVCodecContext *decoder_ctx;
- AVFrame *frame = avcodec_alloc_frame(); //av_frame_alloc # libav10
+ AVFrame *frame = avcodec_alloc_frame(); //av_frame_alloc() # libav10
int got_output;
int len = avcodec_decode_audio4(decoder_ctx, frame, &got_output, &avpkt);
@@ -178,7 +178,7 @@ abuffer *cConvert::reencode_mpa_frame(mpeg_audio_frame *mpa_frame,
// https://www.ffmpeg.org/doxygen/1.0/group__lavc__encoding.html#gf12a9da0d33f50ff406e03572fab4763
// https://www.ffmpeg.org/doxygen/1.0/decoding__encoding_8c-source.html#l00102
AVCodecContext *encoder_ctx;
- AVFrame *frame = avcodec_alloc_frame; // libav10 av_frame_alloc
+ AVFrame *frame = avcodec_alloc_frame(); // libav10 av_frame_alloc()
AVPacket avpkt;
av_init_packet(&avpkt);
avpkt.data = mpa_frame->data;