[FFmpeg-cvslog] lavc/utils: Make pix_fmt desc pointer const.

2015-01-06 Thread Carl Eugen Hoyos
ffmpeg | branch: release/2.3 | Carl Eugen Hoyos  | Thu Oct 30 
00:27:04 2014 +0100| [d4c70c8b502aa5d0ec1929785986433647f49f6b] | committer: 
Michael Niedermayer

lavc/utils: Make pix_fmt desc pointer const.

Fixes an "initialization discards qualifiers from pointer target type" warning.
(cherry picked from commit f05855414ed4cce97c06ba2a31f4987af47e6d4e)

Signed-off-by: Michael Niedermayer 

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

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

diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 8919e15..85d614a 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -297,7 +297,7 @@ void avcodec_align_dimensions2(AVCodecContext *s, int 
*width, int *height,
 int i;
 int w_align = 1;
 int h_align = 1;
-AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(s->pix_fmt);
+AVPixFmtDescriptor const *desc = av_pix_fmt_desc_get(s->pix_fmt);
 
 if (desc) {
 w_align = 1 << desc->log2_chroma_w;

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


[FFmpeg-cvslog] lavc/utils: Make pix_fmt desc pointer const.

2014-12-08 Thread Carl Eugen Hoyos
ffmpeg | branch: release/2.2 | Carl Eugen Hoyos  | Thu Oct 30 
00:27:04 2014 +0100| [cd01611d7b7aa63bfce6dcb4008ac7686bc13418] | committer: 
Michael Niedermayer

lavc/utils: Make pix_fmt desc pointer const.

Fixes an "initialization discards qualifiers from pointer target type" warning.
(cherry picked from commit f05855414ed4cce97c06ba2a31f4987af47e6d4e)

Signed-off-by: Michael Niedermayer 

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

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

diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 8d24f0b..4969baa 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -281,7 +281,7 @@ void avcodec_align_dimensions2(AVCodecContext *s, int 
*width, int *height,
 int i;
 int w_align = 1;
 int h_align = 1;
-AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(s->pix_fmt);
+AVPixFmtDescriptor const *desc = av_pix_fmt_desc_get(s->pix_fmt);
 
 if (desc) {
 w_align = 1 << desc->log2_chroma_w;

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


[FFmpeg-cvslog] lavc/utils: Make pix_fmt desc pointer const.

2014-11-30 Thread Carl Eugen Hoyos
ffmpeg | branch: release/2.4 | Carl Eugen Hoyos  | Thu Oct 30 
00:27:04 2014 +0100| [2719ba9ee35f2dd1243e67ae85889bcdbc4afe7b] | committer: 
Michael Niedermayer

lavc/utils: Make pix_fmt desc pointer const.

Fixes an "initialization discards qualifiers from pointer target type" warning.
(cherry picked from commit f05855414ed4cce97c06ba2a31f4987af47e6d4e)

Signed-off-by: Michael Niedermayer 

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

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

diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 4931444..ca6fe2d 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -279,7 +279,7 @@ void avcodec_align_dimensions2(AVCodecContext *s, int 
*width, int *height,
 int i;
 int w_align = 1;
 int h_align = 1;
-AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(s->pix_fmt);
+AVPixFmtDescriptor const *desc = av_pix_fmt_desc_get(s->pix_fmt);
 
 if (desc) {
 w_align = 1 << desc->log2_chroma_w;

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


[FFmpeg-cvslog] lavc/utils: Make pix_fmt desc pointer const.

2014-11-28 Thread Carl Eugen Hoyos
ffmpeg | branch: release/2.1 | Carl Eugen Hoyos  | Thu Oct 30 
00:27:04 2014 +0100| [1987afe5a0c51c686f1e8a54d5bfcb218b7c7ec6] | committer: 
Michael Niedermayer

lavc/utils: Make pix_fmt desc pointer const.

Fixes an "initialization discards qualifiers from pointer target type" warning.
(cherry picked from commit f05855414ed4cce97c06ba2a31f4987af47e6d4e)

Signed-off-by: Michael Niedermayer 

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

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

diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 3b11990..7391a69 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -251,7 +251,7 @@ void avcodec_align_dimensions2(AVCodecContext *s, int 
*width, int *height,
 int i;
 int w_align = 1;
 int h_align = 1;
-AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(s->pix_fmt);
+AVPixFmtDescriptor const *desc = av_pix_fmt_desc_get(s->pix_fmt);
 
 if (desc) {
 w_align = 1 << desc->log2_chroma_w;

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


[FFmpeg-cvslog] lavc/utils: Make pix_fmt desc pointer const.

2014-11-14 Thread Carl Eugen Hoyos
ffmpeg | branch: release/2.0 | Carl Eugen Hoyos  | Thu Oct 30 
00:27:04 2014 +0100| [2389309d4836b7f0ba7f2e50fda1943bfa945e53] | committer: 
Michael Niedermayer

lavc/utils: Make pix_fmt desc pointer const.

Fixes an "initialization discards qualifiers from pointer target type" warning.
(cherry picked from commit f05855414ed4cce97c06ba2a31f4987af47e6d4e)

Signed-off-by: Michael Niedermayer 

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

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

diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 8e421e7..5326f19 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -196,7 +196,7 @@ void avcodec_align_dimensions2(AVCodecContext *s, int 
*width, int *height,
 int i;
 int w_align = 1;
 int h_align = 1;
-AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(s->pix_fmt);
+AVPixFmtDescriptor const *desc = av_pix_fmt_desc_get(s->pix_fmt);
 
 if (desc) {
 w_align = 1 << desc->log2_chroma_w;

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


[FFmpeg-cvslog] lavc/utils: Make pix_fmt desc pointer const.

2014-10-29 Thread Carl Eugen Hoyos
ffmpeg | branch: master | Carl Eugen Hoyos  | Thu Oct 30 
00:27:04 2014 +0100| [f05855414ed4cce97c06ba2a31f4987af47e6d4e] | committer: 
Carl Eugen Hoyos

lavc/utils: Make pix_fmt desc pointer const.

Fixes an "initialization discards qualifiers from pointer target type" warning.

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

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

diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 4aa0497..97e75c8 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -279,7 +279,7 @@ void avcodec_align_dimensions2(AVCodecContext *s, int 
*width, int *height,
 int i;
 int w_align = 1;
 int h_align = 1;
-AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(s->pix_fmt);
+AVPixFmtDescriptor const *desc = av_pix_fmt_desc_get(s->pix_fmt);
 
 if (desc) {
 w_align = 1 << desc->log2_chroma_w;

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