Don't crash if the first packet in a stream has AV_NOPTS_VALUE;
authorCarl Hetherington <cth@carlh.net>
Wed, 14 Oct 2020 19:24:57 +0000 (21:24 +0200)
committerCarl Hetherington <cth@carlh.net>
Wed, 14 Oct 2020 19:50:52 +0000 (21:50 +0200)
commitaa072f8b8afdf12a6f55b52cf49059c8d30e301f
treed82a4b7ba7d2bafce8f17174e2f3f6b27398bb71
parent46064e5c8ae074b1328f8dab541322b6fb091275
Don't crash if the first packet in a stream has AV_NOPTS_VALUE;
instead, assume it should be at timestamp 0.

Backported-from-commit: d7a3d94ec307a03ebe3fcf239ba991e9a3c1b8b8
Backported-from-branch: v2.15.x
src/lib/ffmpeg_decoder.cc