Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: pause freezes vdr+xine



syrius.ml@no-log.org wrote:
Olaf Titz <olaf@bigred.inka.de> writes:


            if (w > 0)
               i += l;
-           else if (w < 0)
+           else if (w <= 0)
               return i == 0 ? w : i;
            }
this makes the second condition "if (true)".

that how it is in 1.3.20, the else if (...) is now a simple else.
Maybe you're mixing up line numbers here - in my version of VDR 1.3.20
it is still 'else if (w < 0)'.

Anyway, I guess Reinhard is right, and according to Olaf it could be

           int w = PlayPesPacket(Data + i, l, VideoOnly);
           if (w > 0)
              i += l;
           else
              return i == 0 ? w : i;

Klaus




Home | Main Index | Thread Index