[vlc-commits] codec: vt_utils: remove garbage

Thomas Guillem git at videolan.org
Fri Mar 9 16:43:29 CET 2018


vlc/vlc-3.0 | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Mar  9 14:47:46 2018 +0100| [795eed33d275b8d67fbaf47f87d94f6c990c1277] | committer: Thomas Guillem

codec: vt_utils: remove garbage

kCVPixelBufferBytesPerRowAlignmentKey is set just after with a correct value.

(cherry picked from commit 045813d2bd6352bafe0731330ef90847e6ba646c)
Signed-off-by: Thomas Guillem <thomas at gllm.fr>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=795eed33d275b8d67fbaf47f87d94f6c990c1277
---

 modules/codec/vt_utils.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/modules/codec/vt_utils.c b/modules/codec/vt_utils.c
index 4b52a32c84..4ab2c64ae7 100644
--- a/modules/codec/vt_utils.c
+++ b/modules/codec/vt_utils.c
@@ -270,8 +270,6 @@ cvpxpool_create(const video_format_t *fmt, unsigned count)
                          kCVPixelBufferIOSurfacePropertiesKey, io_dict);
     CFRelease(io_dict);
 
-    cfdict_set_int32(cvpx_attrs_dict, kCVPixelBufferBytesPerRowAlignmentKey,
-                     fmt->i_width);
     cfdict_set_int32(cvpx_attrs_dict, kCVPixelBufferPixelFormatTypeKey,
                      cvpx_format);
     cfdict_set_int32(cvpx_attrs_dict, kCVPixelBufferWidthKey, fmt->i_width);



More information about the vlc-commits mailing list