avcodec/h264: set er.ref_count earlier
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 1 Sep 2013 01:40:20 +0000 (03:40 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Sun, 1 Sep 2013 07:58:55 +0000 (09:58 +0200)
commitbe47e931343edc840ac4356391d1269d3eeb0e8b
treeababc8206c0a23fb35149afbcd3cf619dccf2145
parent1821c849da5be820c207eba11470d059473ea6df
avcodec/h264: set er.ref_count earlier

Fixes Ticket2910

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 93cf7b01950b9d8e1646227752b522d0275d32df)
libavcodec/h264.c