diff options
author | Piotr Kaczuba <p.kaczuba@attika.ath.cx> | 2011-06-01 18:47:37 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-06-02 14:43:14 +0200 |
commit | c96f3750c22ef1576a46140f3101e3585041f41f (patch) | |
tree | 65d3f51f31131e2ef963efd0a1868111861b3cb4 | |
parent | b443447536116f2843097f26a693478c66dcbe02 (diff) | |
download | ffmpeg-c96f3750c22ef1576a46140f3101e3585041f41f.tar.gz |
postprocess: Remove test for impossible condition (was: Re: postprocess.c: replace check for p==NULL with *p==0)
-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; |