mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-28 14:01:27 +00:00
proper check for valid pva_pts
Originally committed as revision 11429 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
dba13944f0
commit
71e1080e28
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user