diff libmpdemux/demux_nut.c @ 36811:92dd1764392a

demuxers: remove pointless sh->ds assignments. The new_sh_* functions have been fixed a long time ago to do this.
author reimar
date Sun, 23 Feb 2014 18:14:44 +0000
parents 139f2b064ef9
children
line wrap: on
line diff
--- a/libmpdemux/demux_nut.c	Sun Feb 23 18:02:21 2014 +0000
+++ b/libmpdemux/demux_nut.c	Sun Feb 23 18:14:44 2014 +0000
@@ -117,7 +117,7 @@
 			int j;
 			mp_msg(MSGT_DEMUX, MSGL_INFO, MSGTR_AudioID, "nut", i);
 
-			sh_audio->wf= wf; sh_audio->ds = demuxer->audio;
+			sh_audio->wf= wf;
 			sh_audio->audio.dwSampleSize = 0; // FIXME
 			sh_audio->audio.dwScale = s[i].time_base.num;
 			sh_audio->audio.dwRate = s[i].time_base.den;
@@ -154,7 +154,6 @@
 			mp_msg(MSGT_DEMUX, MSGL_INFO, MSGTR_VideoID, "nut", i);
 
 			sh_video->bih = bih;
-			sh_video->ds = demuxer->video;
 			sh_video->disp_w = s[i].width;
 			sh_video->disp_h = s[i].height;
 			sh_video->video.dwScale = s[i].time_base.num;