summaryrefslogtreecommitdiffstats
path: root/demux/demux_mkv.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-04-27 13:36:09 +0200
committerwm4 <wm4@nowhere>2013-04-27 13:40:55 +0200
commitbf48f1eccee6467aca5125f764a0757d0509d940 (patch)
tree2f278c6d494f4b6e52408a6573aaaaa6d96bd9ce /demux/demux_mkv.c
parent0cb732f9f1ef28675a5f05a32f3b8aee12587fca (diff)
downloadmpv-bf48f1eccee6467aca5125f764a0757d0509d940.tar.bz2
mpv-bf48f1eccee6467aca5125f764a0757d0509d940.tar.xz
vd_lavc: fix decoder init failure path
libavcodec decoder initialization failure caused a segfault, because it wasn't properly reported back in init(). Also remove the return value from init_avctx(), which actually makes things simpler. Instead, ctx->avctx can be checked to see whether initialization was ok.
Diffstat (limited to 'demux/demux_mkv.c')
0 files changed, 0 insertions, 0 deletions