diff options
author | wm4 <wm4@nowhere> | 2017-07-10 16:40:52 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-07-10 16:40:52 +0200 |
commit | b016760a286a190e5134c177672472aa8f2e42d8 (patch) | |
tree | db42a8d1e1142e2195172396093bf9bafe8579b8 /ta/ta_talloc.h | |
parent | 02468dcbde8081fc79ba7b7832fe37cb3b52bb16 (diff) | |
download | mpv-b016760a286a190e5134c177672472aa8f2e42d8.tar.bz2 mpv-b016760a286a190e5134c177672472aa8f2e42d8.tar.xz |
ad_spdif: minor cleanups
Use avcodec_free_context() unstead of random other calls. Actually it
was already used in the second case, but calling avcodec_close() is
redundant.
Don't crash if allocating a codec context fails.
Diffstat (limited to 'ta/ta_talloc.h')
0 files changed, 0 insertions, 0 deletions