diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-06-20 18:36:14 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-06-21 07:36:44 +0200 |
commit | a50b7562804e4b3e3935b4843dcbb0e48a3d1cf8 (patch) | |
tree | 5cca702f7bafae03cb4052fcd5506b4886216b72 /libswscale/swscale_unscaled.c | |
parent | 005c80b645cc6ab5f30cbc3e10ab66a15dfd107e (diff) | |
download | ffmpeg-a50b7562804e4b3e3935b4843dcbb0e48a3d1cf8.tar.gz |
lavc: remove stats_in from AVCodecContext options table.
Its documentation states that it is allocated/freed by the caller, but
it is declared as an AV_OPT_TYPE_STRING AVOption. Since
367732832faaf1bac4ece37cf7fef8c911e16312 the AVOptions system frees
strings automatically. This can be considered an API break, since it
won't work when the caller doesn't use av_malloc() to allocate the
memory or wants to use the string after closing the codec.
Since there is not much value in this field being an AVOption, the best
solution is to remove it from the options table.
Diffstat (limited to 'libswscale/swscale_unscaled.c')
0 files changed, 0 insertions, 0 deletions