diff options
author | Joerg Bornkessel <hd_brummy@gentoo.org> | 2014-11-06 21:58:11 +0100 |
---|---|---|
committer | Joerg Bornkessel <hd_brummy@gentoo.org> | 2014-11-06 21:58:11 +0100 |
commit | f8fdb9551fbdb63a9b05d83b85ea3d20a793efa8 (patch) | |
tree | c89ba55d05072306ff1aba1c88391a2f49cdef0e | |
parent | 7acfd51907950e79003a2efaad18273fd03586a7 (diff) | |
download | vdr-plugin-audiorecorder-f8fdb9551fbdb63a9b05d83b85ea3d20a793efa8.tar.gz vdr-plugin-audiorecorder-f8fdb9551fbdb63a9b05d83b85ea3d20a793efa8.tar.bz2 |
compile fix
-rw-r--r-- | convert.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -183,19 +183,19 @@ abuffer *cConvert::reencode_mpa_frame(mpeg_audio_frame *mpa_frame, /* frame containing input raw audio */ frame = avcodec_alloc_frame(); - if (!frame) { + if (! frame) { dsyslog("[audiorecorder]: Could not allocate audio frame (%s, " "%s())", __FILE__, __func__); - return; +// return; // fprintf(stderr, "Could not allocate audio frame\n"); -// exit(1); + exit(1); } encoder_buf.offset = avcodec_encode_audio2(encoder_ctx, &avpkt, frame, &got_output); - if (ret < 0) { + if ( ret < 0 ) { dsyslog("[audiorecorder]: Error encoding audio frame (%s, " "%s())", __FILE__, __func__); - return; +// return; // fprintf(stderr, "Error encoding audio frame\n"); -// exit(1); + exit(1); } #endif return &encoder_buf; |