[FFmpeg-cvslog] avcodec/jpeg2000dwt: Fix undefined shifts of negative numbers

2020-07-03 Thread Andreas Rheinhardt
ffmpeg | branch: release/3.2 | Andreas Rheinhardt 
 | Sat Sep 28 04:26:10 2019 +0200| 
[37d8033fd064f417aa03313fbf12af70cb30856e] | committer: Andreas Rheinhardt

avcodec/jpeg2000dwt: Fix undefined shifts of negative numbers

Affected the vsynth*-jpeg2000 and the vsynth*-jpeg2000-97 FATE tests
(where * ranges over { 1, 2, 3, _lena }) as well as ticket #7983.

Signed-off-by: Andreas Rheinhardt 
Signed-off-by: Michael Niedermayer 
(cherry picked from commit 5cf593adcd79a7c9502dc2725e1f0681ada36aef)
Signed-off-by: Andreas Rheinhardt 

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

 libavcodec/jpeg2000dwt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/jpeg2000dwt.c b/libavcodec/jpeg2000dwt.c
index 17d81dc56f..ecb4ba665c 100644
--- a/libavcodec/jpeg2000dwt.c
+++ b/libavcodec/jpeg2000dwt.c
@@ -255,7 +255,7 @@ static void dwt_encode97_int(DWTContext *s, int *t)
 line += 5;
 
 for (i = 0; i < w * h; i++)
-t[i] <<= I_PRESHIFT;
+t[i] *= 1 << I_PRESHIFT;
 
 for (lev = s->ndeclevels-1; lev >= 0; lev--){
 int lh = s->linelen[lev][0],

___
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-cvslog] avcodec/jpeg2000dwt: Fix undefined shifts of negative numbers

2020-07-03 Thread Andreas Rheinhardt
ffmpeg | branch: release/3.3 | Andreas Rheinhardt 
 | Sat Sep 28 04:26:10 2019 +0200| 
[d4f2de5151d44028f5122b2051c532f26473e2ce] | committer: Andreas Rheinhardt

avcodec/jpeg2000dwt: Fix undefined shifts of negative numbers

Affected the vsynth*-jpeg2000 and the vsynth*-jpeg2000-97 FATE tests
(where * ranges over { 1, 2, 3, _lena }) as well as ticket #7983.

Signed-off-by: Andreas Rheinhardt 
Signed-off-by: Michael Niedermayer 
(cherry picked from commit 5cf593adcd79a7c9502dc2725e1f0681ada36aef)
Signed-off-by: Andreas Rheinhardt 

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

 libavcodec/jpeg2000dwt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/jpeg2000dwt.c b/libavcodec/jpeg2000dwt.c
index 8092297b8c..dd23b21924 100644
--- a/libavcodec/jpeg2000dwt.c
+++ b/libavcodec/jpeg2000dwt.c
@@ -255,7 +255,7 @@ static void dwt_encode97_int(DWTContext *s, int *t)
 line += 5;
 
 for (i = 0; i < w * h; i++)
-t[i] <<= I_PRESHIFT;
+t[i] *= 1 << I_PRESHIFT;
 
 for (lev = s->ndeclevels-1; lev >= 0; lev--){
 int lh = s->linelen[lev][0],

___
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-cvslog] avcodec/jpeg2000dwt: Fix undefined shifts of negative numbers

2020-07-02 Thread Andreas Rheinhardt
ffmpeg | branch: release/3.4 | Andreas Rheinhardt 
 | Sat Sep 28 04:26:10 2019 +0200| 
[5367c91e021d5c790f41a8f071d60806bd1007f3] | committer: Andreas Rheinhardt

avcodec/jpeg2000dwt: Fix undefined shifts of negative numbers

Affected the vsynth*-jpeg2000 and the vsynth*-jpeg2000-97 FATE tests
(where * ranges over { 1, 2, 3, _lena }) as well as ticket #7983.

Signed-off-by: Andreas Rheinhardt 
Signed-off-by: Michael Niedermayer 
(cherry picked from commit 5cf593adcd79a7c9502dc2725e1f0681ada36aef)
Signed-off-by: Andreas Rheinhardt 

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

 libavcodec/jpeg2000dwt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/jpeg2000dwt.c b/libavcodec/jpeg2000dwt.c
index badf0f8cd0..f418454ee9 100644
--- a/libavcodec/jpeg2000dwt.c
+++ b/libavcodec/jpeg2000dwt.c
@@ -255,7 +255,7 @@ static void dwt_encode97_int(DWTContext *s, int *t)
 line += 5;
 
 for (i = 0; i < w * h; i++)
-t[i] <<= I_PRESHIFT;
+t[i] *= 1 << I_PRESHIFT;
 
 for (lev = s->ndeclevels-1; lev >= 0; lev--){
 int lh = s->linelen[lev][0],

___
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-cvslog] avcodec/jpeg2000dwt: Fix undefined shifts of negative numbers

2020-07-02 Thread Andreas Rheinhardt
ffmpeg | branch: release/4.0 | Andreas Rheinhardt 
 | Sat Sep 28 04:26:10 2019 +0200| 
[ba3ff1381e20ba1cc7c6dc88de36843d4ff4363f] | committer: Andreas Rheinhardt

avcodec/jpeg2000dwt: Fix undefined shifts of negative numbers

Affected the vsynth*-jpeg2000 and the vsynth*-jpeg2000-97 FATE tests
(where * ranges over { 1, 2, 3, _lena }) as well as ticket #7983.

Signed-off-by: Andreas Rheinhardt 
Signed-off-by: Michael Niedermayer 
(cherry picked from commit 5cf593adcd79a7c9502dc2725e1f0681ada36aef)
Signed-off-by: Andreas Rheinhardt 

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

 libavcodec/jpeg2000dwt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/jpeg2000dwt.c b/libavcodec/jpeg2000dwt.c
index badf0f8cd0..f418454ee9 100644
--- a/libavcodec/jpeg2000dwt.c
+++ b/libavcodec/jpeg2000dwt.c
@@ -255,7 +255,7 @@ static void dwt_encode97_int(DWTContext *s, int *t)
 line += 5;
 
 for (i = 0; i < w * h; i++)
-t[i] <<= I_PRESHIFT;
+t[i] *= 1 << I_PRESHIFT;
 
 for (lev = s->ndeclevels-1; lev >= 0; lev--){
 int lh = s->linelen[lev][0],

___
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-cvslog] avcodec/jpeg2000dwt: Fix undefined shifts of negative numbers

2020-07-01 Thread Andreas Rheinhardt
ffmpeg | branch: release/4.1 | Andreas Rheinhardt 
 | Sat Sep 28 04:26:10 2019 +0200| 
[02d9561eabb5afeec5f47bbb50d93dde07e9e06c] | committer: Andreas Rheinhardt

avcodec/jpeg2000dwt: Fix undefined shifts of negative numbers

Affected the vsynth*-jpeg2000 and the vsynth*-jpeg2000-97 FATE tests
(where * ranges over { 1, 2, 3, _lena }) as well as ticket #7983.

Signed-off-by: Andreas Rheinhardt 
Signed-off-by: Michael Niedermayer 
(cherry picked from commit 5cf593adcd79a7c9502dc2725e1f0681ada36aef)
Signed-off-by: Andreas Rheinhardt 

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

 libavcodec/jpeg2000dwt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/jpeg2000dwt.c b/libavcodec/jpeg2000dwt.c
index badf0f8cd0..f418454ee9 100644
--- a/libavcodec/jpeg2000dwt.c
+++ b/libavcodec/jpeg2000dwt.c
@@ -255,7 +255,7 @@ static void dwt_encode97_int(DWTContext *s, int *t)
 line += 5;
 
 for (i = 0; i < w * h; i++)
-t[i] <<= I_PRESHIFT;
+t[i] *= 1 << I_PRESHIFT;
 
 for (lev = s->ndeclevels-1; lev >= 0; lev--){
 int lh = s->linelen[lev][0],

___
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-cvslog] avcodec/jpeg2000dwt: Fix undefined shifts of negative numbers

2020-05-19 Thread Andreas Rheinhardt
ffmpeg | branch: release/4.2 | Andreas Rheinhardt 
 | Sat Sep 28 04:26:10 2019 +0200| 
[33093d3782cd4fb0d8c4b6f338e121e236d2a997] | committer: Andreas Rheinhardt

avcodec/jpeg2000dwt: Fix undefined shifts of negative numbers

Affected the vsynth*-jpeg2000 and the vsynth*-jpeg2000-97 FATE tests
(where * ranges over { 1, 2, 3, _lena }) as well as ticket #7983.

Signed-off-by: Andreas Rheinhardt 
Signed-off-by: Michael Niedermayer 
(cherry picked from commit 5cf593adcd79a7c9502dc2725e1f0681ada36aef)

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

 libavcodec/jpeg2000dwt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/jpeg2000dwt.c b/libavcodec/jpeg2000dwt.c
index badf0f8cd0..f418454ee9 100644
--- a/libavcodec/jpeg2000dwt.c
+++ b/libavcodec/jpeg2000dwt.c
@@ -255,7 +255,7 @@ static void dwt_encode97_int(DWTContext *s, int *t)
 line += 5;
 
 for (i = 0; i < w * h; i++)
-t[i] <<= I_PRESHIFT;
+t[i] *= 1 << I_PRESHIFT;
 
 for (lev = s->ndeclevels-1; lev >= 0; lev--){
 int lh = s->linelen[lev][0],

___
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-cvslog] avcodec/jpeg2000dwt: Fix undefined shifts of negative numbers

2019-09-28 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt  | 
Sat Sep 28 04:26:10 2019 +0200| [5cf593adcd79a7c9502dc2725e1f0681ada36aef] | 
committer: Michael Niedermayer

avcodec/jpeg2000dwt: Fix undefined shifts of negative numbers

Affected the vsynth*-jpeg2000 and the vsynth*-jpeg2000-97 FATE tests
(where * ranges over { 1, 2, 3, _lena }) as well as ticket #7983.

Signed-off-by: Andreas Rheinhardt 
Signed-off-by: Michael Niedermayer 

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

 libavcodec/jpeg2000dwt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/jpeg2000dwt.c b/libavcodec/jpeg2000dwt.c
index badf0f8cd0..f418454ee9 100644
--- a/libavcodec/jpeg2000dwt.c
+++ b/libavcodec/jpeg2000dwt.c
@@ -255,7 +255,7 @@ static void dwt_encode97_int(DWTContext *s, int *t)
 line += 5;
 
 for (i = 0; i < w * h; i++)
-t[i] <<= I_PRESHIFT;
+t[i] *= 1 << I_PRESHIFT;
 
 for (lev = s->ndeclevels-1; lev >= 0; lev--){
 int lh = s->linelen[lev][0],

___
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".