lavc/videotoolboxenc: fix open videotoolbox bug on iOS8.4
authorjerett <wj.jiang@outlook.com>
Fri, 23 Jun 2017 12:58:35 +0000 (08:58 -0400)
committerRick Kern <kernrj@gmail.com>
Fri, 23 Jun 2017 13:37:34 +0000 (09:37 -0400)
commit9f26d670e447767683ed21b1b5ac16423eba4c72
tree8c0c81f669a0b7ac4b1465b91ea7a83a7e5d0efc
parent82a8724df2a5cd7c64d163a3a0939a14f0d7d024
lavc/videotoolboxenc: fix open videotoolbox bug on iOS8.4

Checks for NULL before using object.

Signed-off-by: Rick Kern <kernrj@gmail.com>
libavcodec/videotoolboxenc.c