X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_libavcodec%2Ftrgt_av.cpp;h=8a3e373dbe68f3e49df8de42a4b5da5408776f0f;hb=d061d675f5eecd50db043141ae5d2ad3edde83b7;hp=651e09eabe19f78714ccc769baadff46524dae0a;hpb=70bcefce2ab011a11014f36fc129b473cc0bc61e;p=synfig.git diff --git a/synfig-core/trunk/src/modules/mod_libavcodec/trgt_av.cpp b/synfig-core/trunk/src/modules/mod_libavcodec/trgt_av.cpp index 651e09e..8a3e373 100644 --- a/synfig-core/trunk/src/modules/mod_libavcodec/trgt_av.cpp +++ b/synfig-core/trunk/src/modules/mod_libavcodec/trgt_av.cpp @@ -2,7 +2,7 @@ /*! \file trgt_av.cpp ** \brief \writeme ** -** $Id: trgt_av.cpp,v 1.1.1.1 2005/01/04 01:23:11 darco Exp $ +** $Id$ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley @@ -61,7 +61,7 @@ SYNFIG_TARGET_INIT(Target_LibAVCodec); SYNFIG_TARGET_SET_NAME(Target_LibAVCodec,"libav"); SYNFIG_TARGET_SET_EXT(Target_LibAVCodec,"avi"); SYNFIG_TARGET_SET_VERSION(Target_LibAVCodec,"0.1"); -SYNFIG_TARGET_SET_CVS_ID(Target_LibAVCodec,"$Id: trgt_av.cpp,v 1.1.1.1 2005/01/04 01:23:11 darco Exp $"); +SYNFIG_TARGET_SET_CVS_ID(Target_LibAVCodec,"$Id$"); /* === C L A S S E S & S T R U C T S ======================================= */ @@ -286,7 +286,7 @@ public: class VideoEncoder { public: - AVFrame *encodable; //for compressiong and output to a file (in compatible pixel format) + AVFrame *encodable; //for compression and output to a file (in compatible pixel format) vector videobuffer; @@ -378,7 +378,7 @@ public: /* If pict is invalid (NULL), then we are done compressing frames and we are trying to get - the buffer cleared out (or if it's already in the right format) so no transofrm necessary + the buffer cleared out (or if it's already in the right format) so no transform necessary */ if ( pict ) { @@ -406,7 +406,7 @@ public: if( context->coded_frame && context->coded_frame->key_frame) pkt.flags |= PKT_FLAG_KEY; - //cludge for raw picture format (they said they'd fix) + //kluge for raw picture format (they said they'd fix) if (formatc->oformat->flags & AVFMT_RAWPICTURE) { ret = av_write_frame(formatc, &pkt); @@ -454,7 +454,7 @@ public: return true; } - void close(AVFormatContext *formatc, AVStream *stream) + void close(AVFormatContext */*formatc*/, AVStream *stream) { if(stream) avcodec_close(stream->codec); @@ -642,7 +642,7 @@ public: void CleanUp() { - int i; + unsigned int i; if(picture) free_picture(picture); @@ -745,7 +745,7 @@ public: } // add an audio output stream - AVStream *add_audio_stream(int codec_id,const AudioInfo &aInfo) + AVStream *add_audio_stream(int codec_id,const AudioInfo &/*aInfo*/) { AVCodecContext *context; AVStream *stream; @@ -905,7 +905,7 @@ Target_LibAVCodec::end_frame() } bool -Target_LibAVCodec::start_frame(synfig::ProgressCallback *callback) +Target_LibAVCodec::start_frame(synfig::ProgressCallback */*callback*/) { //prepare all the color buffer stuff, etc. @@ -929,7 +929,7 @@ Target_LibAVCodec::end_scanline() bool Target_LibAVCodec::init() { - //hardcode test for mpeg + //hardcoded test for mpeg if(!data->Initialize(filename.c_str(),NULL)) { synfig::warning("Unable to Initialize the audio video encoders");