[vlc-commits] codec: vt_utils: fix BGRA pool creation

Thomas Guillem git at videolan.org
Wed Sep 27 11:38:03 CEST 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Sep 26 19:01:10 2017 +0200| [dd0d00f1d27681677347e687bba08344cbb32657] | committer: Thomas Guillem

codec: vt_utils: fix BGRA pool creation

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

 modules/codec/vt_utils.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/codec/vt_utils.c b/modules/codec/vt_utils.c
index f4561239a3..943f39945c 100644
--- a/modules/codec/vt_utils.c
+++ b/modules/codec/vt_utils.c
@@ -209,6 +209,7 @@ cvpxpool_create(const video_format_t *fmt, unsigned count)
             break;
         case VLC_CODEC_CVPX_BGRA:
             cvpx_format = kCVPixelFormatType_32BGRA;
+            break;
         default:
             return NULL;
     }



More information about the vlc-commits mailing list