Get audio_service_type for AC-3 based on bitstream mode in the AC-3 parser
[ffmpeg.git] / libavcodec / aac_ac3_parser.c
index f65a4aa..58f30a4 100644 (file)
@@ -94,6 +94,7 @@ get_next:
             avctx->channel_layout = s->channel_layout;
         }
         avctx->frame_size = s->samples;
+        avctx->audio_service_type = s->service_type;
     }
 
     avctx->bit_rate = s->bit_rate;