mirror of https://github.com/FFmpeg/FFmpeg.git
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>pull/3/merge
parent
5f27374c1b
commit
6166bf3cbe
1 changed files with 6 additions and 7 deletions
Loading…
Reference in new issue