mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-12 13:44:56 +02:00
Simplification
This commit is contained in:
parent
a87b2b9884
commit
3897a418a4
@ -177,17 +177,12 @@ static inline block_t *filter_NewAudioBuffer( filter_t *p_filter, int i_size )
|
||||
picture_t *p_pic ) \
|
||||
{ \
|
||||
picture_t *p_outpic = filter_NewPicture( p_filter ); \
|
||||
if( !p_outpic ) \
|
||||
if( p_outpic ) \
|
||||
{ \
|
||||
picture_Release( p_pic ); \
|
||||
return NULL; \
|
||||
name( p_filter, p_pic, p_outpic ); \
|
||||
picture_CopyProperties( p_outpic, p_pic ); \
|
||||
} \
|
||||
\
|
||||
name( p_filter, p_pic, p_outpic ); \
|
||||
\
|
||||
picture_CopyProperties( p_outpic, p_pic ); \
|
||||
picture_Release( p_pic ); \
|
||||
\
|
||||
return p_outpic; \
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user