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
Drop the deprecated function register_avcodec() at the next major
version bump. Originally committed as revision 17028 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Stefano Sabatini
17 years ago
parent
9be26823b9
commit
9d385cfec4
2 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
libavcodec/avcodec.h
+2
-0
libavcodec/utils.c
+ 2
- 0
libavcodec/avcodec.h
View File
@@ -2604,10 +2604,12 @@ unsigned avcodec_version(void);
*/
void avcodec_init(void);
#if LIBAVCODEC_VERSION_MAJOR < 53
/**
* @deprecated Deprecated in favor of avcodec_register().
*/
attribute_deprecated void register_avcodec(AVCodec *codec);
#endif
/**
* Register the codec \p codec and initialize libavcodec.
+ 2
- 0
libavcodec/utils.c
View File
@@ -98,10 +98,12 @@ void avcodec_register(AVCodec *codec)
codec->next = NULL;
}
#if LIBAVCODEC_VERSION_MAJOR < 53
void register_avcodec(AVCodec *codec)
{
avcodec_register(codec);
}
#endif
void avcodec_set_dimensions(AVCodecContext *s, int width, int height){
s->coded_width = width;
Write
Preview
Loading…
Cancel
Save