head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.10 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.8 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.6 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.4 pkgsrc-2011Q2-base:1.2 pkgsrc-2009Q4:1.2.0.2 pkgsrc-2009Q4-base:1.2 pkgsrc-2009Q2:1.1.0.6 pkgsrc-2009Q2-base:1.1 pkgsrc-2009Q1:1.1.0.4 pkgsrc-2009Q1-base:1.1 pkgsrc-2008Q4:1.1.0.2 pkgsrc-2008Q4-base:1.1; locks; strict; comment @# @; 1.2 date 2009.07.14.20.23.17; author hasso; state dead; branches; next 1.1; 1.1 date 2008.12.21.12.53.24; author obache; state Exp; branches; next ; desc @@ 1.2 log @Update to 0.7.5. No brief list of changes, but ChangeLog shows that it's mostly fixes to build with newer gcc and ffmpeg versions. @ text @$NetBSD: patch-ao,v 1.1 2008/12/21 12:53:24 obache Exp $ --- nucleo/plugins/ffmpeg/ffmpegImageSink.cxx.orig 2008-01-29 13:54:23.000000000 +0000 +++ nucleo/plugins/ffmpeg/ffmpegImageSink.cxx @@@@ -235,14 +235,14 @@@@ namespace nucleo { int port = uri.port ; if (!port) port = 1234 ; sender = new UdpSender(uri.host.c_str(), port) ; - if (init_put_byte(&(format_context->pb), buffer, buffer_size, + if (init_put_byte(format_context->pb, buffer, buffer_size, 1, (void *)this, 0, udp_callback, 0) < 0) { std::cerr << "ffmpegImageSink: init_put_byte failed" << std::endl ; return false ; } - format_context->pb.is_streamed = 1 ; // no seek - format_context->pb.max_packet_size = buffer_size ; + format_context->pb->is_streamed = 1 ; // no seek + format_context->pb->max_packet_size = buffer_size ; } av_write_header(format_context) ; @@@@ -340,7 +340,7 @@@@ namespace nucleo { if (vstream->codec) { avcodec_close(vstream->codec) ; av_write_trailer(format_context) ; - if (!sender) url_fclose(&format_context->pb) ; + if (!sender) url_fclose(format_context->pb) ; } av_freep(&vstream) ; } @ 1.1 log @Try to fix build failure with ffmpeg-snapshot, PR 40212. @ text @d1 1 a1 1 $NetBSD$ @