aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mjpeg.h
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-01-29 21:23:59 +0100
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-01-30 18:39:08 +0100
commit6166bf3cbe99d687b15fc5a84bd6d399d6bab3fa (patch)
treedfbe502ea5378a1df0a47945dc082dd58fdef8b3 /libavcodec/mjpeg.h
parent5f27374c1b397c718c9c9a28509aab40f681d9da (diff)
downloadffmpeg-6166bf3cbe99d687b15fc5a84bd6d399d6bab3fa.tar.gz
Deobfuscate ff_huff_build_tree.
I have no idea what the idea was behind the original code, but the new code is equivalent to it. In that loop that places the new node nodes[j] contains always the data of the new node (since the steps are always in order: FFSWAP copies node[j] to node[j-1], j is decremented). Thus nodes[j].no == i and nodes[j].sym == HNODE. make fate still passes and contains VP6 samples which use FF_HUFFMAN_FLAG_HNODE_FIRST. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavcodec/mjpeg.h')
0 files changed, 0 insertions, 0 deletions