mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-27 07:23:11 +02:00
fix commit 3d4245d76d
This commit is contained in:
@@ -90,8 +90,6 @@ int64_t Input::calcPts(AVStream * stream, int64_t pts)
|
||||
if (pts < 0)
|
||||
return INVALID_PTS_VALUE;
|
||||
|
||||
if (pts & 0x8000000000000000ull)
|
||||
pts = INVALID_PTS_VALUE;
|
||||
return pts;
|
||||
}
|
||||
#endif
|
||||
@@ -680,6 +678,7 @@ bool Input::GetMetadata(std::vector<std::string> &keys, std::vector<std::string>
|
||||
|
||||
if (avfc) {
|
||||
AVDictionaryEntry *tag = NULL;
|
||||
|
||||
if (avfc->metadata)
|
||||
while ((tag = av_dict_get(avfc->metadata, "", tag, AV_DICT_IGNORE_SUFFIX))) {
|
||||
keys.push_back(tag->key);
|
||||
|
Reference in New Issue
Block a user