diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2012-07-29 18:43:45 +0200 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2012-08-04 21:49:05 +0200 |
commit | 8ef740ce01abff3bc7df0f79803a3dc781d89daa (patch) | |
tree | 5acd8a9e7edd7e5003e7523ed35fb158cfee18d8 /libavformat/tcp.c | |
parent | f85746509ca8b727d97ff801a63a22f81fd27a0c (diff) | |
download | ffmpeg-8ef740ce01abff3bc7df0f79803a3dc781d89daa.tar.gz |
lavfi: use a new field for automatic buffer copy.
The code currently use cur_buf as the target of the copy,
but cur_buf can be cleared by the filter if it has given
the reference away or stored it elsewhere as soon as start_frame.
The code still relies on the fact that the reference is not
destroyed until end_frame. All filters currently follow that condition.
An av_assert1() is added to check it; it should at least cause
very visible errors in valgrind.
Diffstat (limited to 'libavformat/tcp.c')
0 files changed, 0 insertions, 0 deletions