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/filtering_audio,video: drop call to avcodec_get_frame_defaults()
The avcodec_get_frame_defaults() function is deprecated and its use doesn't seem required.
tags/n2.2-rc1
Stefano Sabatini
11 years ago
parent
8e5e84c2a2
commit
b539a72bba
2 changed files
with
0 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-1
doc/examples/filtering_audio.c
+0
-1
doc/examples/filtering_video.c
+ 0
- 1
doc/examples/filtering_audio.c
View File
@@ -230,7 +230,6 @@ int main(int argc, char **argv)
}
if (packet.stream_index == audio_stream_index) {
avcodec_get_frame_defaults(frame);
got_frame = 0;
ret = avcodec_decode_audio4(dec_ctx, frame, &got_frame, &packet);
if (ret < 0) {
+ 0
- 1
doc/examples/filtering_video.c
View File
@@ -215,7 +215,6 @@ int main(int argc, char **argv)
break;
if (packet.stream_index == video_stream_index) {
avcodec_get_frame_defaults(frame);
got_frame = 0;
ret = avcodec_decode_video2(dec_ctx, frame, &got_frame, &packet);
if (ret < 0) {
Write
Preview
Loading…
Cancel
Save