summaryrefslogtreecommitdiffstats
path: root/demux
diff options
context:
space:
mode:
Diffstat (limited to 'demux')
-rw-r--r--demux/demux_mpg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/demux/demux_mpg.c b/demux/demux_mpg.c
index 458ed9f926..8dea97ae28 100644
--- a/demux/demux_mpg.c
+++ b/demux/demux_mpg.c
@@ -572,6 +572,7 @@ static int demux_mpg_read_packet(demuxer_t *demux,int id){
len-=3;
if(len<=0) mp_msg(MSGT_DEMUX,MSGL_V,"End of packet while searching for PCM header\n");
dvdpcm_header((sh_audio_t*)(ds->sh));
+ mp_set_audio_codec_from_tag((sh_audio_t*)(ds->sh));
}
// printf(" \n");
} // if(demux->audio->id==aid)