aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvo van Poorten <ivop@euronet.nl>2008-01-05 22:28:42 +0000
committerIvo van Poorten <ivop@euronet.nl>2008-01-05 22:28:42 +0000
commit71e1080e2813bee86d6eed7a3bde8862dae92914 (patch)
treeccd351cde16bdd73cd3eea47431d49055aafbe76
parentdba13944f0a275a9fa15002a55983cc19146c46e (diff)
downloadffmpeg-71e1080e2813bee86d6eed7a3bde8862dae92914.tar.gz
proper check for valid pva_pts
Originally committed as revision 11429 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/pva.c2
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;