Mercurial > libavformat.hg
comparison matroskaenc.c @ 5848:3c72ab66eb24 libavformat
cosmetics : Print newline after error message.
author | jai_menon |
---|---|
date | Mon, 15 Mar 2010 19:03:48 +0000 |
parents | 67059af53c04 |
children | 121d6994c20e |
comparison
equal
deleted
inserted
replaced
5847:d04ce2be0081 | 5848:3c72ab66eb24 |
---|---|
483 put_buffer(dyn_cp, codec->extradata, codec->extradata_size); | 483 put_buffer(dyn_cp, codec->extradata, codec->extradata_size); |
484 } else { | 484 } else { |
485 if (!codec->codec_tag) | 485 if (!codec->codec_tag) |
486 codec->codec_tag = ff_codec_get_tag(ff_codec_bmp_tags, codec->codec_id); | 486 codec->codec_tag = ff_codec_get_tag(ff_codec_bmp_tags, codec->codec_id); |
487 if (!codec->codec_tag) { | 487 if (!codec->codec_tag) { |
488 av_log(s, AV_LOG_ERROR, "No bmp codec ID found."); | 488 av_log(s, AV_LOG_ERROR, "No bmp codec ID found.\n"); |
489 ret = -1; | 489 ret = -1; |
490 } | 490 } |
491 | 491 |
492 ff_put_bmp_header(dyn_cp, codec, ff_codec_bmp_tags, 0); | 492 ff_put_bmp_header(dyn_cp, codec, ff_codec_bmp_tags, 0); |
493 } | 493 } |
494 | 494 |
495 } else if (codec->codec_type == CODEC_TYPE_AUDIO) { | 495 } else if (codec->codec_type == CODEC_TYPE_AUDIO) { |
496 if (!codec->codec_tag) | 496 if (!codec->codec_tag) |
497 codec->codec_tag = ff_codec_get_tag(ff_codec_wav_tags, codec->codec_id); | 497 codec->codec_tag = ff_codec_get_tag(ff_codec_wav_tags, codec->codec_id); |
498 if (!codec->codec_tag) { | 498 if (!codec->codec_tag) { |
499 av_log(s, AV_LOG_ERROR, "No wav codec ID found."); | 499 av_log(s, AV_LOG_ERROR, "No wav codec ID found.\n"); |
500 ret = -1; | 500 ret = -1; |
501 } | 501 } |
502 | 502 |
503 ff_put_wav_header(dyn_cp, codec); | 503 ff_put_wav_header(dyn_cp, codec); |
504 } | 504 } |