| 102 | }; |
| 103 | |
| 104 | static int modplug_read_close(AVFormatContext *s) |
| 105 | { |
| 106 | ModPlugContext *modplug = s->priv_data; |
| 107 | ModPlug_Unload(modplug->f); |
| 108 | av_freep(&modplug->buf); |
| 109 | return 0; |
| 110 | } |
| 111 | |
| 112 | #define SET_OPT_IF_REQUESTED(libopt, opt, flag) do { \ |
| 113 | if (modplug->opt) { \ |
no test coverage detected