]> git.sesse.net Git - ffmpeg/commit
proresenc: Don't free a buffer not owned by the codec
authorMartin Storsjö <martin@martin.st>
Tue, 4 Sep 2012 11:57:45 +0000 (14:57 +0300)
committerMartin Storsjö <martin@martin.st>
Tue, 4 Sep 2012 12:32:12 +0000 (15:32 +0300)
commitcc86bd4ccc19d79747c76925b36d01dc7cad07d2
tree6cfc1d3c2ebd96c8025e43a335bcbda41c691168
parent6d9e74cd4179f42a8fa860f2e08d370c7c36325f
proresenc: Don't free a buffer not owned by the codec

The data in coded_frame isn't allocated using get_buffer, but
is copied from the input frame to the encoder, so we should
not try to free it ourselves.

This fixes an assert failure when running in debug mode.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/proresenc.c