diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-03-15 17:13:52 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2013-03-15 18:10:28 +0000 |
commit | a9b424879f101b56cf75c2db889477bba188fe20 (patch) | |
tree | a9e67fe3fba92feaca7bdeb8122ebe2772f339ae /libavformat/brstm.c | |
parent | 3d751b1ef6619b20631b17c880aa96f2dd3a11dd (diff) | |
download | ffmpeg-a9b424879f101b56cf75c2db889477bba188fe20.tar.gz |
lavc & lavf: replace deprecated av_log* functions
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavformat/brstm.c')
-rw-r--r-- | libavformat/brstm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/brstm.c b/libavformat/brstm.c index 82f3027620..7781b3c559 100644 --- a/libavformat/brstm.c +++ b/libavformat/brstm.c @@ -75,7 +75,7 @@ static int read_header(AVFormatContext *s) return AVERROR_INVALIDDATA; } if (bom == 0xFFFE) { - av_log_ask_for_sample(s, "unsupported byte order\n"); + avpriv_request_sample(s, "little endian byte order"); return AVERROR_PATCHWELCOME; } @@ -110,7 +110,7 @@ static int read_header(AVFormatContext *s) case 1: codec = AV_CODEC_ID_PCM_S16BE_PLANAR; break; case 2: codec = AV_CODEC_ID_ADPCM_THP; break; default: - av_log_ask_for_sample(s, "unsupported codec: %d\n", codec); + avpriv_request_sample(s, "codec %d", codec); return AVERROR_PATCHWELCOME; } @@ -220,8 +220,8 @@ static int read_header(AVFormatContext *s) } avio_skip(s->pb, start - avio_tell(s->pb)); - if (major!=1 || minor) - av_log_ask_for_sample(s, "Version %d.%d\n", major, minor); + if (major != 1 || minor) + avpriv_request_sample(s, "Version %d.%d", major, minor); return 0; default: |