Commit 1a4ff216 authored by ivo's avatar ivo

proper check for valid pva_pts


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11429 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0aa7368e
......@@ -144,7 +144,7 @@ recover:
return AVERROR(EIO);
pkt->stream_index = streamid - 1;
if (pva_pts)
if (pva_pts != AV_NOPTS_VALUE)
pkt->pts = pva_pts;
return ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment