[FFmpeg-devel] [PATCH] cmdutils: fix success path
Michael Niedermayer
michaelni at gmx.at
Wed Feb 11 17:36:28 CET 2015
On Wed, Feb 11, 2015 at 02:18:27PM +0100, Jean Delvare wrote:
> Since commit 934f2d2f5c16df8aad9f401a9fd842b5d9a78b11,
> cmdutils_read_file() prints a confusing message on success:
>
> IO error: Success
>
> This is because the error message is printed on the success path as
> well. Add the missing condition so that it is only printed on error.
>
> Signed-off-by: Jean Delvare <jdelvare at suse.de>
> Cc: Michael Niedermayer <michaelni at gmx.at>
> ---
> cmdutils.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
applied
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150211/33404b88/attachment.asc>
More information about the ffmpeg-devel
mailing list