diff options
author | Ivo van Poorten <ivop@euronet.nl> | 2008-01-05 22:28:42 +0000 |
---|---|---|
committer | Ivo van Poorten <ivop@euronet.nl> | 2008-01-05 22:28:42 +0000 |
commit | 71e1080e2813bee86d6eed7a3bde8862dae92914 (patch) | |
tree | ccd351cde16bdd73cd3eea47431d49055aafbe76 /libavformat/pva.c | |
parent | dba13944f0a275a9fa15002a55983cc19146c46e (diff) | |
download | ffmpeg-71e1080e2813bee86d6eed7a3bde8862dae92914.tar.gz |
proper check for valid pva_pts
Originally committed as revision 11429 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/pva.c')
-rw-r--r-- | libavformat/pva.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/pva.c b/libavformat/pva.c index 0798ffd8df..9c09eb4672 100644 --- a/libavformat/pva.c +++ b/libavformat/pva.c @@ -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; |