proper check for valid pva_pts

Originally committed as revision 11429 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Ivo van Poorten 2008-01-05 22:28:42 +00:00
parent dba13944f0
commit 71e1080e28
1 changed files with 1 additions and 1 deletions

View File

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