Mercurial > libavformat.hg
diff nutdec.c @ 5997:06f15a7a9bb8 libavformat
Make the nut demuxer issue a more meaningful error message if it
cannot recognize the provided codec tag.
author | stefano |
---|---|
date | Sun, 09 May 2010 22:56:02 +0000 |
parents | f74198942337 |
children | d0ea87d82842 |
line wrap: on
line diff
--- a/nutdec.c Sun May 09 20:10:48 2010 +0000 +++ b/nutdec.c Sun May 09 22:56:02 2010 +0000 @@ -334,7 +334,8 @@ 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);