Mercurial > mplayer.hg
view binary.ver @ 36328:9af6f39eab61
vo png: Error handling and clean up
Simplify error path; returning 1 is obfuscated and not different
from returning VO_TRUE. We do not want to fatally error out anyway,
so printing a warning should be enough and not different from the
current behaviour.
Use av_free_packet, it is the counter part for av_init_packet .
It could e.g. potentially free side data. The buffer itself
will not be freed as is intended for our custom buffer which
we will try to re-use.
author | al |
---|---|
date | Wed, 14 Aug 2013 10:21:30 +0000 |
parents | 7e4a8748cf9a |
children |
line wrap: on
line source
MPLAYER_1 { # to support glibcs abhorrent backwards-compatibility hack global: _IO_stdin_used; local: *; };