Package: bino Version: bino_1.4.0-1 Severity: important Dear Maintainer,
Currently, the bino package fails to build from source with the libav9 package currently in experimental. The attached patch fixes this. Please review and discuss this patch with upstream. Thanks Cheers, Reinhard -- System Information: Debian Release: wheezy/sid APT prefers raring-proposed APT policy: (500, 'raring-proposed'), (500, 'raring') Architecture: amd64 (x86_64) Kernel: Linux 3.5.0-18-generic (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash
Description: Fixes FTBFS with libav 9 Author: Reinhard Tartler <siret...@tauware.de> --- Origin: ubuntu Bug-Debian: http://bugs.debian.org/<bugnumber> Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber> Forwarded: no --- bino-1.4.0.orig/src/media_object.cpp +++ bino-1.4.0/src/media_object.cpp @@ -853,7 +853,7 @@ void media_object::open(const std::strin // For a camera device, do not read ahead multiple packets, to avoid a startup delay. _ffmpeg->format_ctx->max_analyze_duration = 0; } - if ((e = av_find_stream_info(_ffmpeg->format_ctx)) < 0) + if ((e = avformat_find_stream_info(_ffmpeg->format_ctx, NULL)) < 0) { throw exc(str::asprintf(_("%s: Cannot read stream info: %s"), _url.c_str(), my_av_strerror(e).c_str())); @@ -897,7 +897,7 @@ void media_object::open(const std::strin codec_ctx->flags |= CODEC_FLAG_EMU_EDGE; } // Find and open the codec. CODEC_ID_TEXT is a special case: it has no decoder since it is unencoded raw data. - if (codec_ctx->codec_id != CODEC_ID_TEXT && (!codec || (e = avcodec_open(codec_ctx, codec)) < 0)) + if (codec_ctx->codec_id != CODEC_ID_TEXT && (!codec || (e = avcodec_open2(codec_ctx, codec, NULL)) < 0)) { msg::wrn(_("%s stream %d: Cannot open %s: %s"), _url.c_str(), i, codec_ctx->codec_type == AVMEDIA_TYPE_VIDEO ? _("video codec")