Commit 4c35990d authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

FFMPEG_COMMON_MEMBERS => AVCODEC_COMMON_MEMBERS

parent 83602675
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
*****************************************************************************/ *****************************************************************************/
struct decoder_sys_t struct decoder_sys_t
{ {
FFMPEG_COMMON_MEMBERS AVCODEC_COMMON_MEMBERS
/* Temporary buffer for libavcodec */ /* Temporary buffer for libavcodec */
int i_output_max; int i_output_max;
......
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
struct decoder_sys_t struct decoder_sys_t
{ {
/* Common part between video and audio decoder */ /* Common part between video and audio decoder */
FFMPEG_COMMON_MEMBERS AVCODEC_COMMON_MEMBERS
}; };
/**************************************************************************** /****************************************************************************
......
...@@ -256,7 +256,7 @@ int ffmpeg_OpenCodec( decoder_t *p_dec ); ...@@ -256,7 +256,7 @@ int ffmpeg_OpenCodec( decoder_t *p_dec );
"for encoding the audio bitstream. It takes the following options: " \ "for encoding the audio bitstream. It takes the following options: " \
"main, low, ssr (not supported) and ltp (default: main)" ) "main, low, ssr (not supported) and ltp (default: main)" )
#define FFMPEG_COMMON_MEMBERS \ #define AVCODEC_COMMON_MEMBERS \
int i_cat; \ int i_cat; \
int i_codec_id; \ int i_codec_id; \
const char *psz_namecodec; \ const char *psz_namecodec; \
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 52, 25, 0 ) #if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 52, 25, 0 )
struct decoder_sys_t { struct decoder_sys_t {
FFMPEG_COMMON_MEMBERS AVCODEC_COMMON_MEMBERS
}; };
static subpicture_t *ConvertSubtitle(decoder_t *, AVSubtitle *, mtime_t pts); static subpicture_t *ConvertSubtitle(decoder_t *, AVSubtitle *, mtime_t pts);
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
*****************************************************************************/ *****************************************************************************/
struct decoder_sys_t struct decoder_sys_t
{ {
FFMPEG_COMMON_MEMBERS AVCODEC_COMMON_MEMBERS
/* Video decoder specific part */ /* Video decoder specific part */
mtime_t i_pts; mtime_t i_pts;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment