[vlc-commits] codec: vt_utils: remove garbage

Thomas Guillem git at videolan.org
Fri Mar 9 15:36:05 CET 2018


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Mar  9 14:47:46 2018 +0100| [045813d2bd6352bafe0731330ef90847e6ba646c] | committer: Thomas Guillem

codec: vt_utils: remove garbage

kCVPixelBufferBytesPerRowAlignmentKey is set just after with a correct value.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=045813d2bd6352bafe0731330ef90847e6ba646c
---

 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 ea5ffb327e..9964ceb434 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