From f3c19fd97ae89aa824196a12681406513f062797 Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Fri, 16 Apr 2010 22:14:39 +0200 Subject: remove redundant check if pFrame is null --- dxr3audiodecoder.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'dxr3audiodecoder.c') diff --git a/dxr3audiodecoder.c b/dxr3audiodecoder.c index d28fe5c..82898db 100644 --- a/dxr3audiodecoder.c +++ b/dxr3audiodecoder.c @@ -166,8 +166,7 @@ void cDxr3AudioDecoder::ac3dts(cDxr3PesFrame *frame, iAudio *audio) } audio->write(pFrame->Data() + pesHeaderLength + LPCM_HEADER_LENGTH, pFrame->Count() - pesHeaderLength - 7); - if (pFrame) - rbuf.Drop(pFrame); + rbuf.Drop(pFrame); } } } -- cgit v1.2.3