summaryrefslogtreecommitdiff
path: root/ac3dec/decode.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-11-24 14:48:04 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2001-11-24 14:48:04 +0100
commit6e6eeab1fdec4c628a624099e5d5e475ff46b619 (patch)
treeb91ae8b17782cb9ea989ecac2b5b75e6613fa77a /ac3dec/decode.c
parentc1dd84e0e97390ce18d2cb49f0bf7623adda047f (diff)
downloadvdr-6e6eeab1fdec4c628a624099e5d5e475ff46b619.tar.gz
vdr-6e6eeab1fdec4c628a624099e5d5e475ff46b619.tar.bz2
Fixed DVD audio sync problems
Diffstat (limited to 'ac3dec/decode.c')
-rw-r--r--ac3dec/decode.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/ac3dec/decode.c b/ac3dec/decode.c
index fb852055..1ff517c4 100644
--- a/ac3dec/decode.c
+++ b/ac3dec/decode.c
@@ -31,6 +31,9 @@
* Matjaz Thaler <matjaz.thaler@rd.iskraemeco.si>
* Added support for DVB-s PCI card
*
+ * 24 Nov 2001
+ * Andreas Schultz <aschultz@cs.uni-magdeburg.de>
+ * Added ac3_buffersize()
*/
#ifdef HAVE_CONFIG_H
@@ -96,6 +99,11 @@ static uint32_t buffer_size = 0;;
// for error handling
jmp_buf error_jmp_mark;
+uint32_t ac3_buffersize()
+{
+ return buffer_size;
+}
+
static uint32_t decode_buffer_syncframe (syncinfo_t *syncinfo, uint8_t **start, uint8_t *end)
{
uint8_t *cur = *start;