diff options
author | Jochen Dolze <vdr@dolze.de> | 2012-09-10 14:54:27 +0200 |
---|---|---|
committer | Jochen Dolze <vdr@dolze.de> | 2012-09-10 14:54:27 +0200 |
commit | 285eeeed580f82bee7ea769df2e737ceda56a8b9 (patch) | |
tree | 4e7b1e4df8de9b8553f3ea2e508708018d43039e /command/streaminfo.cpp | |
parent | 18519ae5a0c87283527a1fd9f57d2ce146dc471e (diff) | |
download | vdr-plugin-markad-285eeeed580f82bee7ea769df2e737ceda56a8b9.tar.gz vdr-plugin-markad-285eeeed580f82bee7ea769df2e737ceda56a8b9.tar.bz2 |
Code cleanups
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 83e6144..62beb6f 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; - bool fixedframerate=false; int sar_width=1,sar_height=1; int profile_idc = bs.getU8(); // profile_idc @@ -299,6 +298,7 @@ bool cMarkAdStreamInfo::FindH264VideoInfos(MarkAdContext *maContext, uchar *pkt, if (pic_order_cnt_type!=2) frame_rate/=2; } } + bool fixedframerate=false; fixedframerate=bs.getBit(); // fixed_frame_rate_flag if ((fixedframerate==1) && (frame_rate!=0)) { maContext->Video.Info.FramesPerSecond=frame_rate; |