[vlc-devel] [PATCH] demux: mkv: remove useless temporary variable
Rémi Denis-Courmont
remi at remlab.net
Wed May 30 21:01:36 CEST 2018
Merged. Xiexie.
Le tiistaina 29. toukokuuta 2018, 13.14.13 EEST Zhao Zhili a écrit :
> ---
> modules/demux/mkv/demux.cpp | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/modules/demux/mkv/demux.cpp b/modules/demux/mkv/demux.cpp
> index b0e80a1..014e0b1 100644
> --- a/modules/demux/mkv/demux.cpp
> +++ b/modules/demux/mkv/demux.cpp
> @@ -454,7 +454,7 @@ bool demux_sys_t::AnalyseAllSegmentsFound( demux_t
> *p_demux, matroska_stream_c * {
> int i_upper_lvl = 0;
> EbmlElement *p_l0;
> - bool b_keep_stream = false, b_keep_segment = false;
> + bool b_keep_stream = false;
>
> /* verify the EBML Header... it shouldn't be bigger than 1kB */
> p_l0 = p_stream1->estream.FindNextID(EBML_INFO(EbmlHead), 1024);
> @@ -511,7 +511,7 @@ bool demux_sys_t::AnalyseAllSegmentsFound( demux_t
> *p_demux, matroska_stream_c * p_segment1->Preload();
>
> if ( !p_segment1->p_segment_uid ||
> - (b_keep_segment = (FindSegment( *p_segment1->p_segment_uid
> ) == NULL))) + FindSegment( *p_segment1->p_segment_uid ) ==
> NULL) {
> opened_segments.push_back( p_segment1 );
> b_keep_stream = true;
--
Реми Дёни-Курмон
http://www.remlab.net/
More information about the vlc-devel
mailing list