summaryrefslogtreecommitdiff
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 594a4b2642..f6e2934b17 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -5657,6 +5657,8 @@ static int decode_nal_units(H264Context *h, uint8_t *buf, int buf_size){
break;
case NAL_FILTER_DATA:
break;
+ default:
+ av_log(avctx, AV_LOG_ERROR, "Unknown NAL code: %d\n", h->nal_unit_type);
}
//FIXME move after where irt is set