This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
Prevent invalid timestamps from being stored.
Originally committed as revision 13983 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer
17 years ago
parent
d6fbdcec05
commit
f53dd4682c
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
libavformat/nutenc.c
+ 3
- 0
libavformat/nutenc.c
View File
@@ -650,6 +650,9 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt){
int store_sp=0;
int ret;
if(pkt->pts < 0)
return -1;
if(1LL<<(20+3*nut->header_count) <= url_ftell(bc))
write_headers(nut, bc);
Write
Preview
Loading…
Cancel
Save