Commit ee47f43b authored by stefano's avatar stefano

Make the nut demuxer issue a more meaningful error message if it

cannot recognize the provided codec tag.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@23071 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b1165002
......@@ -334,7 +334,8 @@ static int decode_stream_header(NUTContext *nut){
return -1;
}
if(class<3 && st->codec->codec_id == CODEC_ID_NONE)
av_log(s, AV_LOG_ERROR, "Unknown codec?!\n");
av_log(s, AV_LOG_ERROR, "Unknown codec tag '0x%04x' for stream number %d\n",
(unsigned int)tmp, stream_id);
GET_V(stc->time_base_id , tmp < nut->time_base_count);
GET_V(stc->msb_pts_shift , tmp < 16);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment