tags 720820 patch thanks On Sun, Aug 25, 2013 at 03:17:55PM +0200, David Suárez wrote: > Source: lynkeos.app > Version: 1.2-6 > Severity: serious > Tags: jessie sid > User: debian...@lists.debian.org > Usertags: qa-ftbfs-20130825 qa-ftbfs > Justification: FTBFS on amd64 > > Hi, > > During a rebuild of all packages in sid, your package failed to build on > amd64. > > Related to current libav9 transition (see #706798).
Patch attached. Cheers, Moritz
diff -aur lynkeos.app-1.2.orig/Sources/ffmpeg_access.c lynkeos.app-1.2/Sources/ffmpeg_access.c --- lynkeos.app-1.2.orig/Sources/ffmpeg_access.c 2005-04-17 17:40:27.000000000 +0200 +++ lynkeos.app-1.2/Sources/ffmpeg_access.c 2013-07-24 20:24:23.472025000 +0200 @@ -224,7 +224,7 @@ // Retrieve stream information - if(av_find_stream_info(pFormatCtx)<0){ + if(avformat_find_stream_info(pFormatCtx, NULL)<0){ printf("ERROR: Could not retrieve stream operation"); printf("\n"); av_close_input_file(pFormatCtx); @@ -275,7 +275,7 @@ } // Open codec - if(avcodec_open(pCodecCtx, pCodec)<0){ + if(avcodec_open2(pCodecCtx, pCodec, NULL)<0){ printf("ERROR: Can't open the codec"); printf("\n"); av_close_input_file(pFormatCtx);