struct vdec_mpeg12_inst *inst = (struct vdec_mpeg12_inst *)h_vdec;
if (!inst) {
- v4l_dbg(inst->ctx, V4L_DEBUG_CODEC_ERROR,
+ v4l_dbg(0, V4L_DEBUG_CODEC_ERROR,
"the mpeg12 inst of dec is invalid.\n");
return -1;
}
struct vdec_mpeg12_inst *inst = (struct vdec_mpeg12_inst *)h_vdec;
if (!inst) {
- v4l_dbg(inst->ctx, V4L_DEBUG_CODEC_ERROR,
+ v4l_dbg(0, V4L_DEBUG_CODEC_ERROR,
"the mpeg12 inst of dec is invalid.\n");
return -1;
}