Browse Source

build info for ABI

Originally committed as revision 489 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Nick Kurshev 23 years ago
parent
commit
8bceb6af09
2 changed files with 7 additions and 0 deletions
  1. +2
    -0
      libavcodec/avcodec.h
  2. +5
    -0
      libavcodec/utils.c

+ 2
- 0
libavcodec/avcodec.h View File

@@ -389,6 +389,8 @@ extern AVCodec *first_avcodec;

/* returns LIBAVCODEC_VERSION_INT constant */
unsigned avcodec_version( void );
/* returns LIBAVCODEC_BUILD constant */
unsigned avcodec_build( void );
void avcodec_init(void);

void register_avcodec(AVCodec *format);


+ 5
- 0
libavcodec/utils.c View File

@@ -412,6 +412,11 @@ unsigned avcodec_version( void )
return LIBAVCODEC_VERSION_INT;
}

unsigned avcodec_build( void )
{
return LIBAVCODEC_BUILD;
}

/* must be called before any other functions */
void avcodec_init(void)
{


Loading…
Cancel
Save