Browse Source

version info

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

+ 2
- 0
libavcodec/avcodec.h View File

@@ -327,6 +327,8 @@ int avpicture_deinterlace(AVPicture *dst, AVPicture *src,

extern AVCodec *first_avcodec;

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

void register_avcodec(AVCodec *format);


+ 4
- 0
libavcodec/utils.c View File

@@ -402,6 +402,10 @@ int avpicture_get_size(int pix_fmt, int width, int height)
return size;
}

unsigned avcodec_version( void )
{
return LIBAVCODEC_VERSION_INT;
}

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


Loading…
Cancel
Save