[FFmpeg-devel] [PATCH] swresample: set flags & description for output_sample_bits

Paul B Mahol onemda at gmail.com
Tue Jun 4 14:00:19 CEST 2013


Allows users to actually use such option.

Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
 libswresample/swresample.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libswresample/swresample.c b/libswresample/swresample.c
index 9b71b2e..d8fda88 100644
--- a/libswresample/swresample.c
+++ b/libswresample/swresample.c
@@ -127,7 +127,7 @@ static const AVOption options[]={
 
 { "kaiser_beta"         , "set swr Kaiser Window Beta"  , OFFSET(kaiser_beta)    , AV_OPT_TYPE_INT  , {.i64=9                     }, 2      , 16        , PARAM },
 
-{ "output_sample_bits"   , ""  , OFFSET(dither.output_sample_bits)               , AV_OPT_TYPE_INT  , {.i64=0                     }, 0      , 64        , 0 },
+{ "output_sample_bits"  , "set number of output sample bits", OFFSET(dither.output_sample_bits), AV_OPT_TYPE_INT  , {.i64=0       }, 0      , 64        , PARAM },
 {0}
 };
 
-- 
1.7.11.2



More information about the ffmpeg-devel mailing list