diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-05-30 14:11:03 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-05-30 14:18:53 +0200 |
commit | 8bedbb82cee4463a43e60eb22674c8bf927280ef (patch) | |
tree | a2c5e516bbb25d35fc0fd3b93ebcb4dc4578c28e /libavfilter/buffersrc.h | |
parent | b3af9242d013cea1c55f20139316280596332eba (diff) | |
download | ffmpeg-8bedbb82cee4463a43e60eb22674c8bf927280ef.tar.gz |
j2k/jpeg2000: split data pointer in int & float.
This fixes a TODO item and unifies both decoders structures
It also fixes undefined behavior due to aliasing violations
I choose 2 fields instead of a union because mistakely using the
wrong type with a union will lead to hard to debug "wrong output"
while with 2 fields mistakely using the wrong type will crash
with a null pointer derefernce which is much easier to debug
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/buffersrc.h')
0 files changed, 0 insertions, 0 deletions