diff options
author | wm4 <wm4@nowhere> | 2013-12-21 20:24:20 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-21 21:43:16 +0100 |
commit | 3dbc9007b080028f0aebbbf8b9ab1233cd70c45b (patch) | |
tree | e6e46e5dd238338c44d421ef4f9101c9898c3cbf /demux/demux_raw.c | |
parent | 9149e2af568d4cb251f8b105f360c3e6b9fd9d86 (diff) | |
download | mpv-3dbc9007b080028f0aebbbf8b9ab1233cd70c45b.tar.bz2 mpv-3dbc9007b080028f0aebbbf8b9ab1233cd70c45b.tar.xz |
demux: mp_msg conversions
The TV code pretends to be part of stream/, but it's actually demuxer
code too. The audio_in code is shared between the TV code and
stream_radio.c, so stream_radio.c needs a small hack until stream.c is
converted.
Diffstat (limited to 'demux/demux_raw.c')
-rw-r--r-- | demux/demux_raw.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/demux/demux_raw.c b/demux/demux_raw.c index 12fa1741a8..63674cea0c 100644 --- a/demux/demux_raw.c +++ b/demux/demux_raw.c @@ -120,7 +120,7 @@ static int demux_rawvideo_open(demuxer_t *demuxer, enum demux_check check) return -1; if (!width || !height) { - mp_msg(MSGT_DEMUX, MSGL_ERR, "rawvideo: width or height not specified!\n"); + MP_ERR(demuxer, "rawvideo: width or height not specified!\n"); return -1; } @@ -166,8 +166,7 @@ static int demux_rawvideo_open(demuxer_t *demuxer, enum demux_check check) break; } if (!bpp) { - mp_msg(MSGT_DEMUX, MSGL_ERR, - "rawvideo: img size not specified and unknown format!\n"); + MP_ERR(demuxer, "rawvideo: img size not specified and unknown format!\n"); return -1; } imgsize = width * height * bpp / 8; |