[FFmpeg-cvslog] avcodec/dvdsubdec: don't use a NULL log context
wm4
git at videolan.org
Tue Sep 22 17:41:46 CEST 2015
ffmpeg | branch: master | wm4 <nfxjfg at googlemail.com> | Tue Sep 22 17:40:06 2015 +0200| [e859a3c864d57afaed46b99c3eb744b62ab36de4] | committer: wm4
avcodec/dvdsubdec: don't use a NULL log context
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e859a3c864d57afaed46b99c3eb744b62ab36de4
---
libavcodec/dvdsubdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/dvdsubdec.c b/libavcodec/dvdsubdec.c
index b7285a4..6f3fda3 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)
More information about the ffmpeg-cvslog
mailing list