]> git.sesse.net Git - vlc/blobdiff - modules/demux/real.c
MKV: cosmetics
[vlc] / modules / demux / real.c
index 9ee1fde304874c560b055baae00fd46993c3e190..970d8d37ef71c633e55c2d1dd5823493b70b7ba2 100644 (file)
@@ -663,7 +663,7 @@ static void DemuxAudioMethod1( demux_t *p_demux, real_track_t *tk, mtime_t i_pts
     else
     {
         const int y = tk->i_subpacket / (tk->i_subpacket_h / 2);
-        assert( tk->fmt.i_codec == VLC_CODEC_288 );
+        assert( tk->fmt.i_codec == VLC_CODEC_RA_288 );
 
         for( int i = 0; i < tk->i_subpacket_h / 2; i++ )
         {
@@ -1490,7 +1490,6 @@ static int CodecAudioParse( demux_t *p_demux, int i_tk_id, const uint8_t *p_data
 
     case VLC_FOURCC( 's','i','p','r' ):
         fmt.i_codec = VLC_CODEC_SIPR;
-        fmt.audio.i_flavor = i_flavor;
         if( i_flavor > 3 )
             return VLC_EGENERIC;