diff options
author | Piotr Kaczuba <p.kaczuba@attika.ath.cx> | 2011-06-01 20:47:37 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-06-02 16:43:14 +0400 |
commit | c96f3750c22ef1576a46140f3101e3585041f41f (patch) | |
tree | 65d3f51f31131e2ef963efd0a1868111861b3cb4 /libpostproc/postprocess.c | |
parent | b443447536116f2843097f26a693478c66dcbe02 (diff) |
postprocess: Remove test for impossible condition (was: Re: postprocess.c: replace check for p==NULL with *p==0)
Diffstat (limited to 'libpostproc/postprocess.c')
-rw-r--r-- | libpostproc/postprocess.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libpostproc/postprocess.c b/libpostproc/postprocess.c index bfb96e1a8f..589c2cead6 100644 --- a/libpostproc/postprocess.c +++ b/libpostproc/postprocess.c @@ -819,8 +819,7 @@ pp_mode *pp_get_mode_by_name_and_quality(const char *name, int quality) int plen; int spaceLeft; - if(p==NULL) p= temp, *p=0; //last filter - else p--, *p=','; //not last filter + p--, *p=','; plen= strlen(p); spaceLeft= p - temp + plen; |