From 728404f4cd4fc932398a605e9a96fa1000863e6d Mon Sep 17 00:00:00 2001 From: max_10 Date: Wed, 8 Oct 2014 23:13:26 +0200 Subject: [PATCH] fix commit 88a4587b978199084e1280c29ded57788c0dc83b Origin commit data ------------------ Branch: master Commit: https://github.com/neutrino-images/ni-libstb-hal/commit/3ac6db3b5a929ee515b7046778c2db10e9c2fb8b Author: max_10 Date: 2014-10-08 (Wed, 08 Oct 2014) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- libeplayer3/input.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libeplayer3/input.cpp b/libeplayer3/input.cpp index b9c6db2..060cb85 100644 --- a/libeplayer3/input.cpp +++ b/libeplayer3/input.cpp @@ -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 &keys, std::vector 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);