Commit 97a9afa9 authored by Erwan Tulou's avatar Erwan Tulou

core: fix regression

Fix regression brought by ce67728a
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)
parent 03997fa1
...@@ -56,7 +56,6 @@ struct decoder_t ...@@ -56,7 +56,6 @@ struct decoder_t
/* Module properties */ /* Module properties */
module_t * p_module; module_t * p_module;
decoder_sys_t * p_sys; decoder_sys_t * p_sys;
bool b_error;
/* Input format ie from demuxer (XXX: a lot of field could be invalid) */ /* Input format ie from demuxer (XXX: a lot of field could be invalid) */
es_format_t fmt_in; es_format_t fmt_in;
...@@ -127,6 +126,8 @@ struct decoder_t ...@@ -127,6 +126,8 @@ struct decoder_t
/* Private structure for the owner of the decoder */ /* Private structure for the owner of the decoder */
decoder_owner_sys_t *p_owner; decoder_owner_sys_t *p_owner;
bool b_error;
}; };
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment