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
examples/muxing: check on frame
Fix crash in case frame is not defined (e.g. with muxing out.wav).
tags/n1.1
Stefano Sabatini
12 years ago
parent
d6196d9421
commit
eda0a52bf1
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
doc/examples/muxing.c
+ 2
- 1
doc/examples/muxing.c
View File
@@ -467,7 +467,8 @@ int main(int argc, char **argv)
return 1;
}
frame->pts = 0;
if (frame)
frame->pts = 0;
for (;;) {
/* Compute current audio and video time. */
if (audio_st)
Write
Preview
Loading…
Cancel
Save