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:
authorwm4 <nfxjfg@googlemail.com>2015-09-22 18:40:06 +0300
committerwm4 <nfxjfg@googlemail.com>2015-09-22 18:41:01 +0300
commite859a3c864d57afaed46b99c3eb744b62ab36de4 (patch)
tree4c8ca58bb945ec26b1879c29fea660b70fd64e48 /libavcodec/dvdsubdec.c
parent9aab22223908180cbfc3c5fa1b19b58d806b5097 (diff)
avcodec/dvdsubdec: don't use a NULL log context
Diffstat (limited to 'libavcodec/dvdsubdec.c')
-rw-r--r--libavcodec/dvdsubdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dvdsubdec.c b/libavcodec/dvdsubdec.c
index b7285a428a..6f3fda3a29 100644
--- a/libavcodec/dvdsubdec.c
+++ b/libavcodec/dvdsubdec.c
@@ -406,7 +406,7 @@ static int decode_dvd_subtitles(DVDSubContext *ctx, AVSubtitle *sub_header,
}
}
if (next_cmd_pos < cmd_pos) {
- av_log(NULL, AV_LOG_ERROR, "Invalid command offset\n");
+ av_log(ctx, AV_LOG_ERROR, "Invalid command offset\n");
break;
}
if (next_cmd_pos == cmd_pos)