This commit is contained in:
max10
2014-10-08 23:13:26 +02:00
parent 3d4245d76d
commit 3ac6db3b5a

View File

@@ -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);