aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ffv1.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-06 03:11:33 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-10-06 03:16:24 +0200
commit5709e20199b35f80ed2bd90385d4c87c79859d17 (patch)
treee0dbd49dff6d1c35e7401f8ee3058e125f06e6ec /libavcodec/ffv1.c
parent1578d01d8f2179284c15ae44b42be5ba08b9a55a (diff)
downloadandroid_external_ffmpeg-5709e20199b35f80ed2bd90385d4c87c79859d17.tar.gz
android_external_ffmpeg-5709e20199b35f80ed2bd90385d4c87c79859d17.tar.bz2
android_external_ffmpeg-5709e20199b35f80ed2bd90385d4c87c79859d17.zip
ffv1: remove commented asserts
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/ffv1.c')
-rw-r--r--libavcodec/ffv1.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c
index c080294e24..f946122dfb 100644
--- a/libavcodec/ffv1.c
+++ b/libavcodec/ffv1.c
@@ -619,8 +619,6 @@ static void encode_rgb_frame(FFV1Context *s, uint8_t *src[3], int w, int h, int
b += offset;
r += offset;
-// assert(g>=0 && b>=0 && r>=0);
-// assert(g<256 && b<512 && r<512);
sample[0][0][x]= g;
sample[1][0][x]= b;
sample[2][0][x]= r;
@@ -1578,9 +1576,6 @@ static void decode_rgb_frame(FFV1Context *s, uint8_t *src[3], int w, int h, int
int r= sample[2][1][x];
int a= sample[3][1][x];
-// assert(g>=0 && b>=0 && r>=0);
-// assert(g<256 && b<512 && r<512);
-
b -= offset;
r -= offset;
g -= (b + r)>>2;