Mercurial > libavcodec.hg
comparison aac_parser.c @ 6530:5d9fe8d17643 libavcodec
using EAC3_STREAM_TYPE_* instead of numbers
author | bwolowiec |
---|---|
date | Mon, 24 Mar 2008 22:21:22 +0000 |
parents | 5542d0c04a55 |
children | 7781f4e99d37 |
comparison
equal
deleted
inserted
replaced
6529:5542d0c04a55 | 6530:5d9fe8d17643 |
---|---|
81 } | 81 } |
82 | 82 |
83 static av_cold int aac_parse_init(AVCodecParserContext *s1) | 83 static av_cold int aac_parse_init(AVCodecParserContext *s1) |
84 { | 84 { |
85 AACAC3ParseContext *s = s1->priv_data; | 85 AACAC3ParseContext *s = s1->priv_data; |
86 s->stream_type = 0; | 86 s->stream_type = EAC3_STREAM_TYPE_INDEPENDENT; |
87 s->inbuf_ptr = s->inbuf; | 87 s->inbuf_ptr = s->inbuf; |
88 s->header_size = AAC_HEADER_SIZE; | 88 s->header_size = AAC_HEADER_SIZE; |
89 s->sync = aac_sync; | 89 s->sync = aac_sync; |
90 return 0; | 90 return 0; |
91 } | 91 } |