[FFmpeg-devel] [PATCH 3/4] dct-test: Remove possibility of returning a restricted exit code
Michael Niedermayer
michaelni at gmx.at
Wed Oct 23 00:13:23 CEST 2013
On Tue, Oct 22, 2013 at 09:37:55PM +0100, Derek Buitenhuis wrote:
> Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>
> ---
> libavcodec/dct-test.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c
> index 4809124..f91e82c 100644
> --- a/libavcodec/dct-test.c
> +++ b/libavcodec/dct-test.c
> @@ -580,5 +580,8 @@ int main(int argc, char **argv)
> }
> }
>
> - return err;
> + if (err)
> + printf("Error: %d.\n");
the %d doesnt match the arguments or rather lack thereof after it
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
During times of universal deceit, telling the truth becomes a
revolutionary act. -- George Orwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20131023/48111592/attachment.asc>
More information about the ffmpeg-devel
mailing list