diff options
author | Joerg Bornkessel <hd_brummy@gentoo.org> | 2014-11-08 18:14:36 +0100 |
---|---|---|
committer | Joerg Bornkessel <hd_brummy@gentoo.org> | 2014-11-08 18:14:36 +0100 |
commit | 6b4b5471c427900d6b28bffa14ff8ed908463bd8 (patch) | |
tree | f4763498453ff2d5c9dcf3567854ddfe65e51a59 /convert.c | |
parent | 703c5d75820e24eb0d5c7f8d3f05b7e8e39b38ed (diff) | |
download | vdr-plugin-audiorecorder-6b4b5471c427900d6b28bffa14ff8ed908463bd8.tar.gz vdr-plugin-audiorecorder-6b4b5471c427900d6b28bffa14ff8ed908463bd8.tar.bz2 |
fixed variables
Diffstat (limited to 'convert.c')
-rw-r--r-- | convert.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -126,6 +126,8 @@ void cConvert::decode_mpa_frame(mpeg_audio_frame *mpa_frame) #warning "and will compile not working code...(convert.c, decode_mpa_frame)" // functioniert, aber es wird nur ein mp3 file mit audio level 0 erzeugt :( + AVCodecContext *decoder_ctx; + AVFrame *frame = avcodec_alloc_frame(); //av_frame_alloc # libav10 int got_output; @@ -175,7 +177,7 @@ abuffer *cConvert::reencode_mpa_frame(mpeg_audio_frame *mpa_frame, #warning "and will compile not working code, (convert.c, reencode_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 *codec_ctx; + AVCodecContext *encoder_ctx; AVFrame *frame = avcodec_alloc_frame; // libav10 av_frame_alloc AVPacket avpkt; av_init_packet(&avpkt); |