From 6150b30f1abf4d3c9212033223858688ae31c138 Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Sun, 24 Feb 2002 17:09:54 +0000 Subject: Fix segfault. CVS patchset: 1514 CVS date: 2002/02/24 17:09:54 --- src/libdivx4/xine_decoder.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/libdivx4/xine_decoder.c b/src/libdivx4/xine_decoder.c index 0e41addfa..71f97efa7 100644 --- a/src/libdivx4/xine_decoder.c +++ b/src/libdivx4/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.17 2002/02/09 07:13:23 guenter Exp $ + * $Id: xine_decoder.c,v 1.18 2002/02/24 17:09:54 f1rmb Exp $ * * xine decoder plugin using divx4 * @@ -466,6 +466,9 @@ static char *divx4_get_id(void) { return "divx4 video decoder"; } +static void divx4_flush(video_decoder_t *this_gen) { +} + /* This is pretty generic. I took the liberty to increase the priority over that of libffmpeg :-) */ video_decoder_t *init_video_decoder_plugin (int iface_version, xine_t *xine) { @@ -509,6 +512,7 @@ video_decoder_t *init_video_decoder_plugin (int iface_version, xine_t *xine) { this->video_decoder.decode_data = divx4_decode_data; this->video_decoder.close = divx4_close; this->video_decoder.get_identifier = divx4_get_id; + this->video_decoder.flush = divx4_flush; this->video_decoder.priority = cfg->register_num (cfg, "codec.divx4_priority", 4, "priority of the divx4 plugin (>5 => enable)", NULL, NULL, NULL); -- cgit v1.2.3