summaryrefslogtreecommitdiff
path: root/dxr3audiodecoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'dxr3audiodecoder.c')
-rw-r--r--dxr3audiodecoder.c3
1 files changed, 1 insertions, 2 deletions
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);
}
}
}