[FFmpeg-cvslog] ffv1: remove commented asserts

Michael Niedermayer git at videolan.org
Sat Oct 6 03:21:23 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Oct  6 03:11:33 2012 +0200| [5709e20199b35f80ed2bd90385d4c87c79859d17] | committer: Michael Niedermayer

ffv1: remove commented asserts

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5709e20199b35f80ed2bd90385d4c87c79859d17
---

 libavcodec/ffv1.c |    5 -----
 1 file changed, 5 deletions(-)

diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c
index c080294..f946122 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;



More information about the ffmpeg-cvslog mailing list