diff options
author | Jochen Dolze <vdr@dolze.de> | 2012-05-17 12:48:45 +0200 |
---|---|---|
committer | Jochen Dolze <vdr@dolze.de> | 2012-05-17 12:48:45 +0200 |
commit | f71889cd4de662eb29d706f8659e86d13a076fd2 (patch) | |
tree | f2f40415b05ebfaf18c3d39c16796f4b0eab0c21 /command/streaminfo.cpp | |
parent | 0942647e18e14cfd5f1ab651da0660618490d834 (diff) | |
download | vdr-plugin-markad-f71889cd4de662eb29d706f8659e86d13a076fd2.tar.gz vdr-plugin-markad-f71889cd4de662eb29d706f8659e86d13a076fd2.tar.bz2 |
Fixed warnings from cppcheck
Added setup menu entry to prevent deferred shutdown
Added many logos from contributors
Diffstat (limited to 'command/streaminfo.cpp')
-rw-r--r-- | command/streaminfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |