changeset 6402:33ebda64cac1 libavformat

fixed some return values and deprecated CODEC_TYPE_VIDEO. dithering (faster) along a linear gradient now.
author bindhammer
date Tue, 24 Aug 2010 14:02:31 +0000
parents 4c2f01a5f69f
children 515e6aad6a82
files a64.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/a64.c	Tue Aug 24 13:42:28 2010 +0000
+++ b/a64.c	Tue Aug 24 14:02:31 2010 +0000
@@ -46,7 +46,7 @@
         header[4] = 3;
         break;
     default:
-        return -1;
+        return AVERROR(EINVAL);
         break;
     }
     put_buffer(s->pb, header, 2);