Commit 278ab989 authored by michael's avatar michael

Compile fix by (Chip <szarlada at freemail dot hu>)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2915 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 17dff696
...@@ -536,6 +536,8 @@ void MPV_decode_defaults(MpegEncContext *s){ ...@@ -536,6 +536,8 @@ void MPV_decode_defaults(MpegEncContext *s){
* sets the given MpegEncContext to defaults for encoding. * sets the given MpegEncContext to defaults for encoding.
* the changed fields will not depend upon the prior state of the MpegEncContext. * the changed fields will not depend upon the prior state of the MpegEncContext.
*/ */
#ifdef CONFIG_ENCODERS
void MPV_encode_defaults(MpegEncContext *s){ void MPV_encode_defaults(MpegEncContext *s){
static int done=0; static int done=0;
...@@ -556,6 +558,7 @@ void MPV_encode_defaults(MpegEncContext *s){ ...@@ -556,6 +558,7 @@ void MPV_encode_defaults(MpegEncContext *s){
s->me.mv_penalty= default_mv_penalty; s->me.mv_penalty= default_mv_penalty;
s->fcode_tab= default_fcode_tab; s->fcode_tab= default_fcode_tab;
} }
#endif //CONFIG_ENCODERS
/** /**
* init common structure for both encoder and decoder. * init common structure for both encoder and decoder.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment