diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2013-01-23 10:42:41 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2013-01-23 10:42:41 +0100 |
commit | b2ae3062abe7f68121404ed55867d8109ed85b08 (patch) | |
tree | 1094a8f1086dd0acfdc84971df9d2d5c3a3832a9 /cutter.c | |
parent | 5b720a4fdb3497783252df5445bba5abc8dcd3dd (diff) | |
download | vdr-b2ae3062abe7f68121404ed55867d8109ed85b08.tar.gz vdr-b2ae3062abe7f68121404ed55867d8109ed85b08.tar.bz2 |
Now also using FindHeader() in cMpeg2Fixer::AdjTref()
Diffstat (limited to 'cutter.c')
-rw-r--r-- | cutter.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: cutter.c 2.22 2013/01/20 12:04:07 kls Exp $ + * $Id: cutter.c 2.23 2013/01/23 10:39:27 kls Exp $ */ #include "cutter.h" @@ -206,11 +206,8 @@ void cMpeg2Fixer::AdjGopTime(int Offset, int FramesPerSecond) void cMpeg2Fixer::AdjTref(int TrefOffset) { - Reset(); - if (!Find(0x00000100)) { - esyslog("ERROR: Picture header not found!"); + if (!FindHeader(0x00000100, "picture")) return; - } int Tref = GetByte() << 2; int Index1 = GetLastIndex(); uchar Byte2 = GetByte(); |