Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-03-15 21:13:52 +0400
committerPaul B Mahol <onemda@gmail.com>2013-03-15 22:10:28 +0400
commita9b424879f101b56cf75c2db889477bba188fe20 (patch)
treea9e67fe3fba92feaca7bdeb8122ebe2772f339ae /libavformat/brstm.c
parent3d751b1ef6619b20631b17c880aa96f2dd3a11dd (diff)
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.c8
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: