Definition at line 27 of file LavcProtocolImpl.h. References ILOG_DEBUG, mIOBuffer, Impala::Util::IOBuffer::Seek(), and Impala::Util::IOBuffer::Size(). 00028 { 00029 ILOG_DEBUG("Seek: offset = " << offset << ", whence = " << whence); 00030 00031 if (whence == 65536) // see AVSEEK_SIZE in libavformat/avio.h 00032 { 00033 int64_t fileLen = (int64_t) mIOBuffer->Size(); 00034 ILOG_DEBUG("Seek: file length = " << fileLen); 00035 return fileLen; 00036 } 00037 00038 int64_t newPos = (int64_t) mIOBuffer->Seek(offset, whence); 00039 ILOG_DEBUG("Seek: new position = " << newPos); 00040 return newPos; 00041 }
Here is the call graph for this function:
|