From 71e1080e2813bee86d6eed7a3bde8862dae92914 Mon Sep 17 00:00:00 2001 From: Ivo van Poorten Date: Sat, 5 Jan 2008 22:28:42 +0000 Subject: proper check for valid pva_pts Originally committed as revision 11429 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/pva.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/pva.c') 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; -- cgit v1.2.3