Changeset 7bf9ebcf6611b3b091ea6a144c58c6a85bba20e2
- Timestamp:
- 13/02/04 22:48:32
(5 years ago)
- Author:
- Gildas Bazin <gbazin@videolan.org>
- git-committer:
- Gildas Bazin <gbazin@videolan.org> 1076708912 +0000
- git-parent:
[244e50dc0db0287a8b104951d0a08971f1164b59]
- git-author:
- Gildas Bazin <gbazin@videolan.org> 1076708912 +0000
- Message:
* modules/demux/a52.c: rewritten from scratch to use the a52 packetizer and to handle a52 wav files and audio CD's.
* modules/codec/a52.c: a52 wav files and audio CD's use padding so don't always check for next sync code.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r5ca0ebc |
r7bf9ebc |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * Copyright (C) 2001-2002 VideoLAN |
|---|
| 5 | | * $Id: a52.c,v 1.32 2003/12/22 14:32:55 sam Exp $ |
|---|
| | 5 | * $Id: a52.c,v 1.33 2004/02/13 21:48:32 gbazin Exp $ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Authors: St�ane Borel <stef@via.ecp.fr> |
|---|
| … | … | |
| 249 | 249 | } |
|---|
| 250 | 250 | |
|---|
| | 251 | if( p_sys->b_packetizer && |
|---|
| | 252 | p_header[0] == 0 && p_header[1] == 0 ) |
|---|
| | 253 | { |
|---|
| | 254 | /* A52 wav files and audio CD's use stuffing */ |
|---|
| | 255 | p_sys->i_state = STATE_GET_DATA; |
|---|
| | 256 | break; |
|---|
| | 257 | } |
|---|
| | 258 | |
|---|
| 251 | 259 | if( p_header[0] != 0x0b || p_header[1] != 0x77 ) |
|---|
| 252 | 260 | { |
|---|
| re8350fd |
r7bf9ebc |
|
| 1 | | SOURCES_a52sys = a52sys.c |
|---|
| | 1 | SOURCES_a52sys = a52.c |
|---|
| 2 | 2 | SOURCES_dtssys = dts.c |
|---|
| 3 | 3 | SOURCES_flac = flac.c |
|---|