[vlc-devel] commit: core: fix regression (Erwan Tulou )

git version control git at videolan.org
Mon Feb 1 15:24:22 CET 2010


vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | Mon Feb  1 15:08:04 2010 +0100| [97a9afa92f30b0ddef722951b6deed3803a09111] | committer: Erwan Tulou 

core: fix regression

Fix regression brought by ce67728ae1a0d91643e416b86efeab34a0891e35
As stated in the 'BIG FAT WARNING', decoder_t and filter_t first members must
be the same ones.

This solves skins2 numerous images failing to be displayed due to swscale
 video filter no longer working properly (a filter_t to decoder_t cast issue)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=97a9afa92f30b0ddef722951b6deed3803a09111
---

 include/vlc_codec.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/include/vlc_codec.h b/include/vlc_codec.h
index 9ddd6bc..3d21b07 100644
--- a/include/vlc_codec.h
+++ b/include/vlc_codec.h
@@ -56,7 +56,6 @@ struct decoder_t
     /* Module properties */
     module_t *          p_module;
     decoder_sys_t *     p_sys;
-    bool                b_error;
 
     /* Input format ie from demuxer (XXX: a lot of field could be invalid) */
     es_format_t         fmt_in;
@@ -127,6 +126,8 @@ struct decoder_t
 
     /* Private structure for the owner of the decoder */
     decoder_owner_sys_t *p_owner;
+
+    bool                b_error;
 };
 
 /**




More information about the vlc-devel mailing list