diff options
-rw-r--r-- | libhb/decavcodec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/decavcodec.c b/libhb/decavcodec.c index c81168d52..c8b12d770 100644 --- a/libhb/decavcodec.c +++ b/libhb/decavcodec.c @@ -1860,7 +1860,7 @@ static int decavcodecvInfo( hb_work_object_t *w, hb_work_info_t *info ) memset( info, 0, sizeof(*info) ); - if (pv->context == NULL) + if (pv->context == NULL || pv->context->codec == NULL) return 0; info->bitrate = pv->context->bit_rate; |