yet another fix for unavailable id3tag

parent 28e9ed29
/***************************************************************************** /*****************************************************************************
* mpga.c : MPEG-I/II Audio input module for vlc * mpga.c : MPEG-I/II Audio input module for vlc
***************************************************************************** *****************************************************************************
...@@ -412,7 +413,14 @@ static int Control( demux_t *p_demux, int i_query, va_list args ) ...@@ -412,7 +413,14 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
{ {
case DEMUX_GET_META: case DEMUX_GET_META:
pp_meta = (vlc_meta_t **)va_arg( args, vlc_meta_t** ); pp_meta = (vlc_meta_t **)va_arg( args, vlc_meta_t** );
*pp_meta = vlc_meta_Duplicate( p_sys->meta ); if( p_sys->meta )
{
*pp_meta = vlc_meta_Duplicate( p_sys->meta );
}
else
{
*pp_meta = NULL;
}
return VLC_SUCCESS; return VLC_SUCCESS;
case DEMUX_GET_TIME: case DEMUX_GET_TIME:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment