OSDN Git Service

enable global_header flag for audio and video encoding, was wrongly part of commit...
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Mon, 9 Jun 2008 01:21:57 +0000 (01:21 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Mon, 9 Jun 2008 01:21:57 +0000 (01:21 +0000)
Originally committed as revision 13724 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/utils.c

index e1fccc9..ed93f75 100644 (file)
@@ -403,7 +403,7 @@ static const AVOption options[]={
 #if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0)
 {"trell", "use trellis quantization", 0, FF_OPT_TYPE_CONST, CODEC_FLAG_TRELLIS_QUANT, INT_MIN, INT_MAX, V|E, "flags"},
 #endif
-{"global_header", "place global headers in extradata instead of every keyframe", 0, FF_OPT_TYPE_CONST, CODEC_FLAG_GLOBAL_HEADER, INT_MIN, INT_MAX, 0, "flags"},
+{"global_header", "place global headers in extradata instead of every keyframe", 0, FF_OPT_TYPE_CONST, CODEC_FLAG_GLOBAL_HEADER, INT_MIN, INT_MAX, V|A|E, "flags"},
 {"bitexact", "use only bitexact stuff (except (i)dct)", 0, FF_OPT_TYPE_CONST, CODEC_FLAG_BITEXACT, INT_MIN, INT_MAX, A|V|S|D|E, "flags"},
 {"aic", "h263 advanced intra coding / mpeg4 ac prediction", 0, FF_OPT_TYPE_CONST, CODEC_FLAG_AC_PRED, INT_MIN, INT_MAX, V|E, "flags"},
 {"umv", "use unlimited motion vectors", 0, FF_OPT_TYPE_CONST, CODEC_FLAG_H263P_UMV, INT_MIN, INT_MAX, V|E, "flags"},