]> granicus.if.org Git - handbrake/commit
decavcodec: fix crash in decavcodecvInfo
authorJohn Stebbins <jstebbins.hb@gmail.com>
Tue, 24 Jan 2017 17:59:58 +0000 (10:59 -0700)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Tue, 24 Jan 2017 18:03:23 +0000 (11:03 -0700)
commit4425691a0fd57b30360d39df3bdeebb9cc9b577f
treef95ae1306bb0237ec2d751034991b5d706e3da22
parentc4a14d3465d4bc663bdb0ad061cba21eeef44afd
decavcodec: fix crash in decavcodecvInfo

If avcodec_open fails, pv->context->codec is NULL, but work->info may
still be called by scan.
libhb/decavcodec.c