diff options
Diffstat (limited to 'libhb/decavcodec.c')
-rw-r--r-- | libhb/decavcodec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libhb/decavcodec.c b/libhb/decavcodec.c index 26430dce4..3e444413d 100644 --- a/libhb/decavcodec.c +++ b/libhb/decavcodec.c @@ -2137,7 +2137,8 @@ static void decodeAudio(hb_work_private_t *pv, packet_info_t * packet_info) // libav does not supply timestamps for wmapro audio (possibly others) // if there is an input timestamp, initialize next_pts if (pv->next_pts == (int64_t)AV_NOPTS_VALUE && - packet_info->pts != AV_NOPTS_VALUE) + packet_info != NULL && + packet_info->pts != AV_NOPTS_VALUE) { pv->next_pts = packet_info->pts; } |