| 34 | } |
| 35 | |
| 36 | AVDecoder::~AVDecoder() |
| 37 | { |
| 38 | if(pCodecCtx) { |
| 39 | avcodec_free_context(&pCodecCtx); |
| 40 | } |
| 41 | if(pFormatCtx) { |
| 42 | avformat_close_input(&pFormatCtx); |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | bool AVDecoder::open(const QString filename) |
| 47 | { |
nothing calls this directly
no outgoing calls
no test coverage detected