On Mon, May 12, 2014 at 01:22:12PM +0200, Sebastian Ramacher wrote: > Control: reopen -1 > Control: severity -1 serious > Control: tags -1 + sid jessie > > On 2014-03-25 23:06:19, Debian Bug Tracking System wrote: > > Changes: > > guvcview (1.7.3-1) unstable; urgency=low > > . > > * New upstream release. (Closes: #739049) > > * Update debian/control. > > - Update Standards-Version to 3.9.5. > > - Add libusb-1.0-0-dev to Build-Depends. > > * Fix build with libav10. (Closes: #739323) > > Add patches/0001-fix-build-with-libav10.patch. > > Thanks to Moritz Muehlenhoff and an...@khirnov.net. > > Unfortunately, the patch is not enough. It still fails to build against > libav 10:
Patch attached. That fixes the FTBFS. Cheers, Moritz
diff -aur guvcview-1.7.3.orig/src/lavc_common.c guvcview-1.7.3/src/lavc_common.c --- guvcview-1.7.3.orig/src/lavc_common.c 2014-03-24 23:56:28.000000000 +0100 +++ guvcview-1.7.3/src/lavc_common.c 2014-05-14 01:30:21.617066211 +0200 @@ -667,7 +667,7 @@ // H264 decoder gboolean has_h264_decoder() { - if(avcodec_find_decoder(CODEC_ID_H264)) + if(avcodec_find_decoder(AV_CODEC_ID_H264)) return TRUE; else return FALSE; @@ -678,7 +678,7 @@ { struct h264_decoder_context* h264_ctx = g_new0(struct h264_decoder_context, 1); - h264_ctx->codec = avcodec_find_decoder(CODEC_ID_H264); + h264_ctx->codec = avcodec_find_decoder(AV_CODEC_ID_H264); if(!h264_ctx->codec) { fprintf(stderr, "H264 decoder: codec not found (please install libavcodec-extra for H264 support)\n"); Nur in guvcview-1.7.3/src: lavc_common.c~.