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/decode_audio: flush the decoder
tags/n3.4
Anton Khirnov
8 years ago
parent
9a38184a14
commit
fee0f1de2c
1 changed files
with
5 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-0
doc/examples/decode_audio.c
+ 5
- 0
doc/examples/decode_audio.c
View File
@@ -179,6 +179,11 @@ int main(int argc, char **argv)
}
}
/* flush the decoder */
pkt->data = NULL;
pkt->size = 0;
decode(c, pkt, decoded_frame, outfile);
fclose(outfile);
fclose(f);
Write
Preview
Loading…
Cancel
Save