aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/aac_parser.c
diff options
context:
space:
mode:
authorBartlomiej Wolowiec <bartek.wolowiec@gmail.com>2008-03-24 21:25:49 +0000
committerBartlomiej Wolowiec <bartek.wolowiec@gmail.com>2008-03-24 21:25:49 +0000
commit4e6eeaf01968a22748e27590d29f343323cca9c6 (patch)
treeb4c32d09b5b6a3dddf4fd6a917289f7ed7b56b80 /libavcodec/aac_parser.c
parentb4e806b2b9696443954de88e54ea583d705bcd24 (diff)
downloadffmpeg-4e6eeaf01968a22748e27590d29f343323cca9c6.tar.gz
using stream type in eac3 parser
Originally committed as revision 12570 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/aac_parser.c')
-rw-r--r--libavcodec/aac_parser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/aac_parser.c b/libavcodec/aac_parser.c
index 37f014c571..4e8ddc1dfb 100644
--- a/libavcodec/aac_parser.c
+++ b/libavcodec/aac_parser.c
@@ -83,6 +83,7 @@ static int aac_sync(AACAC3ParseContext *hdr_info)
static av_cold int aac_parse_init(AVCodecParserContext *s1)
{
AACAC3ParseContext *s = s1->priv_data;
+ s->stream_type = 0;
s->inbuf_ptr = s->inbuf;
s->header_size = AAC_HEADER_SIZE;
s->sync = aac_sync;