summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorPanagiotis Issaris <takis.issaris@uhasselt.be>2006-09-22 15:05:27 +0000
committerPanagiotis Issaris <takis.issaris@uhasselt.be>2006-09-22 15:05:27 +0000
commit22565f5d7e614a40c51ffc2377a01c50e2b68876 (patch)
treeb7a310f9fb905d110c15ad1bdc2213883c30c7ba /ffmpeg.c
parentcccb4c966ba9b2a9239697830e9b21d1f4293348 (diff)
Remove the "error" OptionDef. The equally named AVOption takes over its
function. Originally committed as revision 6322 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 03e223ed84..d2a169b1a7 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -129,7 +129,6 @@ static int video_codec_tag = 0;
static int same_quality = 0;
static int do_deinterlace = 0;
static int packet_size = 0;
-static int error_rate = 0;
static int strict = 0;
static int top_field_first = -1;
static int me_threshold = 0;
@@ -2366,11 +2365,6 @@ static void opt_packet_size(const char *arg)
packet_size= atoi(arg);
}
-static void opt_error_rate(const char *arg)
-{
- error_rate= atoi(arg);
-}
-
static void opt_strict(const char *arg)
{
strict= atoi(arg);
@@ -2931,7 +2925,6 @@ static void new_video_stream(AVFormatContext *oc)
video_enc->me_threshold= me_threshold;
video_enc->intra_dc_precision= intra_dc_precision - 8;
video_enc->strict_std_compliance = strict;
- video_enc->error_rate = error_rate;
if(packet_size){
video_enc->rtp_mode= 1;
@@ -3833,7 +3826,6 @@ const OptionDef options[] = {
"method" },
{ "me_threshold", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_me_threshold}, "motion estimaton threshold", "" },
{ "ps", HAS_ARG | OPT_EXPERT, {(void*)opt_packet_size}, "set packet size in bits", "size" },
- { "error", HAS_ARG | OPT_EXPERT, {(void*)opt_error_rate}, "error rate", "rate" },
{ "strict", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_strict}, "how strictly to follow the standards", "strictness" },
{ "sameq", OPT_BOOL | OPT_VIDEO, {(void*)&same_quality},
"use same video quality as source (implies VBR)" },