summaryrefslogtreecommitdiffstats
path: root/sub/sd_lavc.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-21 19:06:37 +0100
committerwm4 <wm4@nowhere>2013-12-21 20:50:13 +0100
commit3846fc758789711347c0b11f87736b27fc6210a0 (patch)
treee9b01445291326f0a026e0b002d78f1487d781b2 /sub/sd_lavc.c
parent92f9b514263d8becf670c19567826bd288595fe7 (diff)
downloadmpv-3846fc758789711347c0b11f87736b27fc6210a0.tar.bz2
mpv-3846fc758789711347c0b11f87736b27fc6210a0.tar.xz
sub/osd: mp_msg conversions
Diffstat (limited to 'sub/sd_lavc.c')
-rw-r--r--sub/sd_lavc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sub/sd_lavc.c b/sub/sd_lavc.c
index 1977ca3fff..dda6ac4f1c 100644
--- a/sub/sd_lavc.c
+++ b/sub/sd_lavc.c
@@ -111,8 +111,7 @@ static int init(struct sd *sd)
return 0;
error:
- mp_msg(MSGT_SUBREADER, MSGL_ERR,
- "Could not open libavcodec subtitle decoder\n");
+ MP_FATAL(sd, "Could not open libavcodec subtitle decoder\n");
av_free(ctx);
talloc_free(priv);
return -1;
@@ -202,8 +201,7 @@ static void decode(struct sd *sd, struct demux_packet *packet)
}
break;
default:
- mp_msg(MSGT_SUBREADER, MSGL_ERR, "sd_lavc: unsupported subtitle "
- "type from libavcodec\n");
+ MP_ERR(sd, "unsupported subtitle type from libavcodec\n");
break;
}
}