void-packages/srcpkgs/xbmc/patches/280_all_stream_copy.patch

20 lines
873 B
Diff

commit 75179cb1513bd0202e1c69bafbc557f545d8f220
Author: Alexis Ballier <aballier@gentoo.org>
Date: Thu Mar 1 12:05:24 2012 -0300
Remove assignment to stream_copy which is never read after, be it by xbmc or ffmpeg.
diff --git a/xbmc/cores/dvdplayer/DVDCodecs/Audio/DVDAudioCodecPassthroughFFmpeg.cpp b/xbmc/cores/dvdplayer/DVDCodecs/Audio/DVDAudioCodecPassthroughFFmpeg.cpp
index 20f9aff..fbd6264 100644
--- a/xbmc/cores/dvdplayer/DVDCodecs/Audio/DVDAudioCodecPassthroughFFmpeg.cpp
+++ b/xbmc/cores/dvdplayer/DVDCodecs/Audio/DVDAudioCodecPassthroughFFmpeg.cpp
@@ -143,8 +143,6 @@ bool CDVDAudioCodecPassthroughFFmpeg::SetupMuxer(CDVDStreamInfo &hints, CStdStri
/* set the stream's parameters */
- muxer.m_pStream->stream_copy = 1;
-
m_SampleRate = hints.samplerate;
if(!m_SampleRate && hints.codec == CODEC_ID_AC3)
m_SampleRate = 48000;