projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Avoid warning.
[synfig.git]
/
synfig-core
/
trunk
/
src
/
modules
/
mod_libavcodec
/
trgt_av.cpp
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
3881ca1
..
8a3e373
100644
(file)
--- a/
synfig-core/trunk/src/modules/mod_libavcodec/trgt_av.cpp
+++ b/
synfig-core/trunk/src/modules/mod_libavcodec/trgt_av.cpp
@@
-286,7
+286,7
@@
public:
class VideoEncoder
{
public:
class VideoEncoder
{
public:
- AVFrame *encodable; //for compression
g
and output to a file (in compatible pixel format)
+ AVFrame *encodable; //for compression and output to a file (in compatible pixel format)
vector<unsigned char> videobuffer;
vector<unsigned char> videobuffer;
@@
-406,7
+406,7
@@
public:
if( context->coded_frame && context->coded_frame->key_frame)
pkt.flags |= PKT_FLAG_KEY;
if( context->coded_frame && context->coded_frame->key_frame)
pkt.flags |= PKT_FLAG_KEY;
- //
clud
ge for raw picture format (they said they'd fix)
+ //
klu
ge for raw picture format (they said they'd fix)
if (formatc->oformat->flags & AVFMT_RAWPICTURE)
{
ret = av_write_frame(formatc, &pkt);
if (formatc->oformat->flags & AVFMT_RAWPICTURE)
{
ret = av_write_frame(formatc, &pkt);
@@
-642,7
+642,7
@@
public:
void CleanUp()
{
void CleanUp()
{
- int i;
+
unsigned
int i;
if(picture) free_picture(picture);
if(picture) free_picture(picture);
@@
-929,7
+929,7
@@
Target_LibAVCodec::end_scanline()
bool Target_LibAVCodec::init()
{
bool Target_LibAVCodec::init()
{
- //hardcode test for mpeg
+ //hardcode
d
test for mpeg
if(!data->Initialize(filename.c_str(),NULL))
{
synfig::warning("Unable to Initialize the audio video encoders");
if(!data->Initialize(filename.c_str(),NULL))
{
synfig::warning("Unable to Initialize the audio video encoders");