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
255ad888
Commit
255ad888
authored
Feb 16, 2012
by
Justin Ruggles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
audio encoders: do not set coded_frame->key_frame.
it is already set in avcodec_alloc_frame()
parent
8e2555d3
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
6 deletions
+0
-6
libfaac.c
libavcodec/libfaac.c
+0
-1
libgsm.c
libavcodec/libgsm.c
+0
-1
libvorbis.c
libavcodec/libvorbis.c
+0
-1
mpegaudioenc.c
libavcodec/mpegaudioenc.c
+0
-1
pcm.c
libavcodec/pcm.c
+0
-1
roqaudioenc.c
libavcodec/roqaudioenc.c
+0
-1
No files found.
libavcodec/libfaac.c
View file @
255ad888
...
...
@@ -90,7 +90,6 @@ static av_cold int Faac_encode_init(AVCodecContext *avctx)
avctx
->
frame_size
=
samples_input
/
avctx
->
channels
;
avctx
->
coded_frame
=
avcodec_alloc_frame
();
avctx
->
coded_frame
->
key_frame
=
1
;
/* Set decoder specific info */
avctx
->
extradata_size
=
0
;
...
...
libavcodec/libgsm.c
View file @
255ad888
...
...
@@ -70,7 +70,6 @@ static av_cold int libgsm_encode_init(AVCodecContext *avctx) {
}
avctx
->
coded_frame
=
avcodec_alloc_frame
();
avctx
->
coded_frame
->
key_frame
=
1
;
return
0
;
}
...
...
libavcodec/libvorbis.c
View file @
255ad888
...
...
@@ -156,7 +156,6 @@ static av_cold int oggvorbis_encode_init(AVCodecContext *avccontext)
avccontext
->
frame_size
=
OGGVORBIS_FRAME_SIZE
;
avccontext
->
coded_frame
=
avcodec_alloc_frame
();
avccontext
->
coded_frame
->
key_frame
=
1
;
return
0
;
}
...
...
libavcodec/mpegaudioenc.c
View file @
255ad888
...
...
@@ -181,7 +181,6 @@ static av_cold int MPA_encode_init(AVCodecContext *avctx)
}
avctx
->
coded_frame
=
avcodec_alloc_frame
();
avctx
->
coded_frame
->
key_frame
=
1
;
return
0
;
}
...
...
libavcodec/pcm.c
View file @
255ad888
...
...
@@ -49,7 +49,6 @@ static av_cold int pcm_encode_init(AVCodecContext *avctx)
avctx
->
bits_per_coded_sample
=
av_get_bits_per_sample
(
avctx
->
codec
->
id
);
avctx
->
block_align
=
avctx
->
channels
*
avctx
->
bits_per_coded_sample
/
8
;
avctx
->
coded_frame
=
avcodec_alloc_frame
();
avctx
->
coded_frame
->
key_frame
=
1
;
return
0
;
}
...
...
libavcodec/roqaudioenc.c
View file @
255ad888
...
...
@@ -59,7 +59,6 @@ static av_cold int roq_dpcm_encode_init(AVCodecContext *avctx)
context
->
lastSample
[
0
]
=
context
->
lastSample
[
1
]
=
0
;
avctx
->
coded_frame
=
avcodec_alloc_frame
();
avctx
->
coded_frame
->
key_frame
=
1
;
return
0
;
}
...
...
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