lavc/avpacket: check NULL before using the pointer
authorJun Zhao <barryjzhao@tencent.com>
Fri, 10 May 2019 11:03:54 +0000 (19:03 +0800)
committerJun Zhao <barryjzhao@tencent.com>
Sun, 12 May 2019 06:17:22 +0000 (14:17 +0800)
commit00555f4b8b40e52b379b24464a96f94d90432fee
tree472822b34a94df94ef2ecc3dd19e0deb66036813
parent014b0e5092a2dfd1bc0d661fc53d8530ec83d772
lavc/avpacket: check NULL before using the pointer

Need to check NULL before using the pointer

Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
libavcodec/avpacket.c