From: Erwan Tulou Date: Mon, 1 Feb 2010 14:08:04 +0000 (+0100) Subject: core: fix regression X-Git-Tag: 1.1.0-ff~573 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=97a9afa92f30b0ddef722951b6deed3803a09111;p=vlc 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) --- diff --git a/include/vlc_codec.h b/include/vlc_codec.h index 9ddd6bc94d..3d21b07b98 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; }; /**