Mercurial > mplayer.hg
changeset 35248:b192c23ea7f1
Simplify.
author | reimar |
---|---|
date | Mon, 05 Nov 2012 20:14:20 +0000 |
parents | e979453a6af8 |
children | 4f9bc9acf17e |
files | libaf/af.c |
diffstat | 1 files changed, 2 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/libaf/af.c Mon Nov 05 20:11:34 2012 +0000 +++ b/libaf/af.c Mon Nov 05 20:14:20 2012 +0000 @@ -257,12 +257,8 @@ int rv=0; // Return value // Check if there are any filters left in the list - if(NULL == af){ - if(!(af=af_append(s,s->first,"dummy"))) - return AF_UNKNOWN; - else - return AF_ERROR; - } + if(!af) + return af_append(s,s->first,"dummy") ? AF_ERROR : AF_UNKNOWN; // Check if this is the first filter if(!af->prev)