]> granicus.if.org Git - handbrake/commit
libhb: fix segfault when decoding empty audio track
authorJohn Stebbins <jstebbins.hb@gmail.com>
Tue, 29 May 2018 19:59:42 +0000 (12:59 -0700)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Tue, 29 May 2018 19:59:42 +0000 (12:59 -0700)
commit4b3aa7b434e5af45997cdd8c34a310aa654a304b
tree2105157232c98023147311ff4d5c2718f4d7950f
parentab9a2d7b3da4d62c1d4958de8c988c165e2d70dd
libhb: fix segfault when decoding empty audio track

If an audio track exists, but we receive no audio packets for that
track, this causes a condition that results in a NULL dereference.

Fixes https://github.com/HandBrake/HandBrake/issues/1358
libhb/decavcodec.c