# HG changeset patch # User jbr # Date 1221413374 0 # Node ID dfd3033e7de7cc7b7110921e3d7e38e298b60c3a # Parent 0b02fd5189097ba118aea4ad870d1711ca926960 add error message for unsupported codecs in WAVE. Resolves issue 623. diff -r 0b02fd518909 -r dfd3033e7de7 wav.c --- a/wav.c Sun Sep 14 13:56:12 2008 +0000 +++ b/wav.c Sun Sep 14 17:29:34 2008 +0000 @@ -44,6 +44,8 @@ /* format header */ fmt = start_tag(pb, "fmt "); if (put_wav_header(pb, s->streams[0]->codec) < 0) { + av_log(s, AV_LOG_ERROR, "%s codec not supported in WAVE format\n", + s->streams[0]->codec->codec->name); av_free(wav); return -1; }