]> git.sesse.net Git - x264/blobdiff - x264.c
remove TODO. most of it is done, and the rest is out of date.
[x264] / x264.c
diff --git a/x264.c b/x264.c
index e15b45873ac08fc117a07e457d64c7c15b7939c8..7dfbd54db92a58f6e5493c017e9f2144a3348848 100644 (file)
--- a/x264.c
+++ b/x264.c
@@ -629,6 +629,7 @@ static int  Parse( int argc, char **argv,
             case 'f':
             {
                 char *p = strchr( optarg, ':' );
+                if( !p ) p = strchr( optarg, ',' );
                 param->i_deblocking_filter_alphac0 = atoi( optarg );
                 param->i_deblocking_filter_beta = p ? atoi( p+1 ) : param->i_deblocking_filter_alphac0;
                 break;
@@ -696,6 +697,7 @@ static int  Parse( int argc, char **argv,
             case OPT_SAR:
             {
                 char *p = strchr( optarg, ':' );
+                if( !p ) p = strchr( optarg, '/' );
                 if( p )
                 {
                     param->vui.i_sar_width = atoi( optarg );