summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2002-02-24 17:09:54 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2002-02-24 17:09:54 +0000
commit6150b30f1abf4d3c9212033223858688ae31c138 (patch)
treef583700448cf96d3aa8ab377d1d46cc7e9cb3cdf
parentfa8ef9105efe99b217da8ed44cf197ccc09db935 (diff)
downloadxine-lib-6150b30f1abf4d3c9212033223858688ae31c138.tar.gz
xine-lib-6150b30f1abf4d3c9212033223858688ae31c138.tar.bz2
Fix segfault.
CVS patchset: 1514 CVS date: 2002/02/24 17:09:54
-rw-r--r--src/libdivx4/xine_decoder.c6
1 files changed, 5 insertions, 1 deletions
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);