using stream type in eac3 parser
[ffmpeg.git] / libavcodec / aac_parser.c
index 37f014c571ce468817c5ebbb37094b5ba261bc46..4e8ddc1dfbb5219e6f708cc65f604dc6b5b908b8 100644 (file)
@@ -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;