avcodec/vda_h264: use av_buffer to manage buffers
This patch fixes a leak of buffer when seeking occurs.
It adds a flag in struct vda_context for compatibility with apps which
currently use it. If the flag is not set, the hwaccel will behave like
before.
Signed-off-by:
Sebastien Zwickert <dilaroga@gmail.com>
Showing
Please
register
or
sign in
to comment