Commit 71e1080e authored by Ivo van Poorten's avatar Ivo van Poorten

proper check for valid pva_pts

Originally committed as revision 11429 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent dba13944
......@@ -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