Commit faa7c85c authored by Marian Durkovic's avatar Marian Durkovic

backport [17652]

parent efcfb2ab
...@@ -503,12 +503,8 @@ picture_t *LoadImage( filter_t *p_filter, const char *psz_url ) ...@@ -503,12 +503,8 @@ picture_t *LoadImage( filter_t *p_filter, const char *psz_url )
picture_t *p_orig, *p_pic=NULL; picture_t *p_orig, *p_pic=NULL;
image_handler_t *p_handler = image_HandlerCreate( p_filter ); image_handler_t *p_handler = image_HandlerCreate( p_filter );
char *psz_local;
psz_local = ToLocale( psz_url );
fmt_out.i_chroma = VLC_FOURCC('Y','U','V','A'); fmt_out.i_chroma = VLC_FOURCC('Y','U','V','A');
p_orig = image_ReadUrl( p_handler, psz_local, &fmt_in, &fmt_out ); p_orig = image_ReadUrl( p_handler, psz_url, &fmt_in, &fmt_out );
LocaleFree( psz_local );
if( !p_orig ) if( !p_orig )
{ {
......
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