17#ifndef FFMPEG_DICTIONARY_H
18#define FFMPEG_DICTIONARY_H
80 const AVDictionary*
get()
const;
101 operator AVDictionary*();
106 operator const AVDictionary*()
const;
RAII wrapper for AVDictionary.
AVDictionary * m_dict
Pointer to underlying AVDictionary.
AVDictionary * get()
Get the owned FFmpeg dictionary pointer.
AVDictionary ** address()
Get a writable pointer-to-pointer for FFmpeg APIs.
void reset()
Free the owned dictionary and reset the wrapper to empty.
AVDictionary * release()
Release ownership without freeing the dictionary.
bool empty() const
Check whether the wrapper currently owns a dictionary.
~FFmpeg_Dictionary()
Release the owned dictionary, if any.
FFmpeg_Dictionary()
Construct an empty dictionary wrapper.