OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b839da6
)
Compile fix by (Chip <szarlada at freemail dot hu>)
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 22 Mar 2004 12:07:02 +0000
(12:07 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 22 Mar 2004 12:07:02 +0000
(12:07 +0000)
Originally committed as revision 2915 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mpegvideo.c
patch
|
blob
|
history
diff --git
a/libavcodec/mpegvideo.c
b/libavcodec/mpegvideo.c
index
b6ea682
..
28b20c3
100644
(file)
--- a/
libavcodec/mpegvideo.c
+++ b/
libavcodec/mpegvideo.c
@@
-536,6
+536,8
@@
void MPV_decode_defaults(MpegEncContext *s){
* sets the given MpegEncContext to defaults for encoding.
* the changed fields will not depend upon the prior state of the MpegEncContext.
*/
+
+#ifdef CONFIG_ENCODERS
void MPV_encode_defaults(MpegEncContext *s){
static int done=0;
@@
-556,6
+558,7
@@
void MPV_encode_defaults(MpegEncContext *s){
s->me.mv_penalty= default_mv_penalty;
s->fcode_tab= default_fcode_tab;
}
+#endif //CONFIG_ENCODERS
/**
* init common structure for both encoder and decoder.