{"explode","abort decoding on minor error detection",0,AV_OPT_TYPE_CONST,{.i64=AV_EF_EXPLODE},INT_MIN,INT_MAX,D,"err_detect"},
{"careful","consider things that violate the spec and have not been seen in the wild as errors",0,AV_OPT_TYPE_CONST,{.i64=AV_EF_CAREFUL},INT_MIN,INT_MAX,D,"err_detect"},
{"compliant","consider all spec non compliancies as errors",0,AV_OPT_TYPE_CONST,{.i64=AV_EF_COMPLIANT},INT_MIN,INT_MAX,D,"err_detect"},
{"aggressive","consider things that a sane encoder shouldnt do as an error",0,AV_OPT_TYPE_CONST,{.i64=AV_EF_AGGRESSIVE},INT_MIN,INT_MAX,D,"err_detect"},
{"aggressive","consider things that a sane encoder shouldn't do as an error",0,AV_OPT_TYPE_CONST,{.i64=AV_EF_AGGRESSIVE},INT_MIN,INT_MAX,D,"err_detect"},
{"use_wallclock_as_timestamps","use wallclock as timestamps",OFFSET(use_wallclock_as_timestamps),AV_OPT_TYPE_INT,{.i64=0},0,INT_MAX-1,D},
{"avoid_negative_ts","shift timestamps to make them positive. 1 enables, 0 disables, default of -1 enables when required by target format.",OFFSET(avoid_negative_ts),AV_OPT_TYPE_INT,{.i64=-1},-1,1,E},
@@ -747,7 +747,7 @@ int swr_convert(struct SwrContext *s, uint8_t *out_arg[SWR_CH_MAX], int out_coun
reversefill_audiodata(&s->drop_temp,tmp_arg);
s->drop_output*=-1;//FIXME find a less hackish solution
ret=swr_convert(s,tmp_arg,FFMIN(-s->drop_output,MAX_DROP_STEP),in_arg,in_count);//FIXME optimize but this is as good as never called so maybe it doesnt matter
ret=swr_convert(s,tmp_arg,FFMIN(-s->drop_output,MAX_DROP_STEP),in_arg,in_count);//FIXME optimize but this is as good as never called so maybe it doesn't matter