Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
944e5ce3
Commit
944e5ce3
authored
Mar 29, 2017
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc/examples/{de,en}code_audio: fix includes
Consistent with other examples.
parent
4726bbb4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
decode_audio.c
doc/examples/decode_audio.c
+2
-2
encode_audio.c
doc/examples/encode_audio.c
+5
-5
No files found.
doc/examples/decode_audio.c
View file @
944e5ce3
...
...
@@ -31,9 +31,9 @@
#include <stdlib.h>
#include <string.h>
#include
"libavcodec/avcodec.h"
#include
<libavcodec/avcodec.h>
#include
"libavutil/frame.h"
#include
<libavutil/frame.h>
#define AUDIO_INBUF_SIZE 20480
#define AUDIO_REFILL_THRESH 4096
...
...
doc/examples/encode_audio.c
View file @
944e5ce3
...
...
@@ -31,12 +31,12 @@
#include <stdio.h>
#include <stdlib.h>
#include
"libavcodec/avcodec.h"
#include
<libavcodec/avcodec.h>
#include
"libavutil/channel_layout.h"
#include
"libavutil/common.h"
#include
"libavutil/frame.h"
#include
"libavutil/samplefmt.h"
#include
<libavutil/channel_layout.h>
#include
<libavutil/common.h>
#include
<libavutil/frame.h>
#include
<libavutil/samplefmt.h>
/* check that a given sample format is supported by the encoder */
static
int
check_sample_fmt
(
const
AVCodec
*
codec
,
enum
AVSampleFormat
sample_fmt
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment