version info

Originally committed as revision 443 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Nick Kurshev 23 years ago
parent 3649cfd9b3
commit 156e5023e8
  1. 2
      libavcodec/avcodec.h
  2. 4
      libavcodec/utils.c

@ -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);

@ -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