diff options
| author | Thomas Reufer <thomas@reufer.ch> | 2014-09-29 21:33:25 +0200 |
|---|---|---|
| committer | Thomas Reufer <thomas@reufer.ch> | 2014-09-29 21:33:25 +0200 |
| commit | 0f3194b2021c98abaefc6d35d67457fafeb7107c (patch) | |
| tree | d26f6eb4a03ced043a4ea3d0e7e4deda8ca9a571 | |
| parent | 74e46362b8dd8e6f5497dabfa11bc24f62073990 (diff) | |
| download | vdr-plugin-rpihddevice-0f3194b2021c98abaefc6d35d67457fafeb7107c.tar.gz vdr-plugin-rpihddevice-0f3194b2021c98abaefc6d35d67457fafeb7107c.tar.bz2 | |
fix packet length check for audio pass through
| -rw-r--r-- | audio.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -969,7 +969,7 @@ void cRpiAudioDecoder::Action(void) int len = m_parser->Packet()->size; // enough space in current buffer? - if (len <= (signed)(buf->nAllocLen - buf->nFilledLen)) + if (len > (signed)(buf->nAllocLen - buf->nFilledLen)) { // rise reset flag if packet is even bigger than // allocated buffer |
