summaryrefslogtreecommitdiff
path: root/src/libffmpeg/xine_decoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libffmpeg/xine_decoder.c')
-rw-r--r--src/libffmpeg/xine_decoder.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libffmpeg/xine_decoder.c b/src/libffmpeg/xine_decoder.c
index 3b092bfd4..c77c3b1c4 100644
--- a/src/libffmpeg/xine_decoder.c
+++ b/src/libffmpeg/xine_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xine_decoder.c,v 1.19 2001/11/17 14:26:38 f1rmb Exp $
+ * $Id: xine_decoder.c,v 1.20 2001/12/11 15:30:05 miguelfreitas Exp $
*
* xine decoder plugin using ffmpeg
*
@@ -342,7 +342,7 @@ video_decoder_t *init_video_decoder_plugin (int iface_version, config_values_t *
ff_decoder_t *this ;
- if (iface_version != 3) {
+ if (iface_version != 4) {
printf( "ffmpeg: plugin doesn't support plugin API version %d.\n"
"ffmpeg: this means there's a version mismatch between xine and this "
"ffmpeg: decoder plugin.\nInstalling current plugins should help.\n",
@@ -353,7 +353,7 @@ video_decoder_t *init_video_decoder_plugin (int iface_version, config_values_t *
this = (ff_decoder_t *) malloc (sizeof (ff_decoder_t));
- this->video_decoder.interface_version = 3;
+ this->video_decoder.interface_version = iface_version;
this->video_decoder.can_handle = ff_can_handle;
this->video_decoder.init = ff_init;
this->video_decoder.decode_data = ff_decode_data;