You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
proper check for valid pva_pts
Originally committed as revision 11429 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user