lavc: clear AVBuffers on decoded frames if refcounted_frames is not set
authorAnton Khirnov <anton@khirnov.net>
Wed, 24 Apr 2013 08:19:54 +0000 (10:19 +0200)
committerAnton Khirnov <anton@khirnov.net>
Tue, 30 Apr 2013 09:15:32 +0000 (11:15 +0200)
commite036bb7899d0faca9159206be9bf5552e76e7633
tree2e0fe533bd60665c1a5aa3ac92ff65084046f572
parent3d10614529b0be529e73618e4f453f74f66c791b
lavc: clear AVBuffers on decoded frames if refcounted_frames is not set

Otherwise some code might mistakenly think it is allowed to unref those
buffers, which would lead to double unref.
libavcodec/utils.c