mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
libtriple: cPlayback: improve get_pts
* add the buffer size to the call to avoid overflows
* extract PTS also from MPEG1 packets
Origin commit data
------------------
Branch: master
Commit: c0a18f269a
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2010-08-29 (Sun, 29 Aug 2010)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -78,7 +78,7 @@ class cPlayback
|
||||
int64_t pts_start;
|
||||
int64_t pts_end;
|
||||
int64_t pts_curr;
|
||||
int64_t get_pts(uint8_t *p, bool pes);
|
||||
int64_t get_pts(uint8_t *p, bool pes, int bufsize);
|
||||
|
||||
filetype_t filetype;
|
||||
playstate_t playstate;
|
||||
|
Reference in New Issue
Block a user