diff options
author | wm4 <wm4@nowhere> | 2013-04-27 13:36:09 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-04-27 13:40:55 +0200 |
commit | bf48f1eccee6467aca5125f764a0757d0509d940 (patch) | |
tree | 2f278c6d494f4b6e52408a6573aaaaa6d96bd9ce /demux/demux_mkv.c | |
parent | 0cb732f9f1ef28675a5f05a32f3b8aee12587fca (diff) | |
download | mpv-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