From f71889cd4de662eb29d706f8659e86d13a076fd2 Mon Sep 17 00:00:00 2001 From: Jochen Dolze Date: Thu, 17 May 2012 12:48:45 +0200 Subject: Fixed warnings from cppcheck Added setup menu entry to prevent deferred shutdown Added many logos from contributors --- command/streaminfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'command/streaminfo.cpp') diff --git a/command/streaminfo.cpp b/command/streaminfo.cpp index 544c7d9..83e6144 100644 --- a/command/streaminfo.cpp +++ b/command/streaminfo.cpp @@ -183,7 +183,6 @@ bool cMarkAdStreamInfo::FindH264VideoInfos(MarkAdContext *maContext, uchar *pkt, uint32_t width=0; uint32_t height=0; uint32_t aspect_ratio_idc=0; - double frame_rate=0; bool fixedframerate=false; int sar_width=1,sar_height=1; @@ -290,6 +289,7 @@ bool cMarkAdStreamInfo::FindH264VideoInfos(MarkAdContext *maContext, uchar *pkt, uint32_t num_units_in_tick, time_scale; num_units_in_tick = bs.getU32(); // num_units_in_tick time_scale = bs.getU32(); // time_scale + double frame_rate=0; if (num_units_in_tick > 0) { frame_rate = time_scale / num_units_in_tick; -- cgit v1.2.3