avcodec/h264_parser: Set sps/pps_ref
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 2 Jul 2016 01:06:27 +0000 (03:06 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 1 Aug 2016 15:29:14 +0000 (17:29 +0200)
commite4eab67a0aed7c8962f7be2f482399048062e8a4
tree0ba8b13623b5c7c34bc373e7a3032540e4b574a0
parent86f92287404286d01e6d9e65e63242637f1850d0
avcodec/h264_parser: Set sps/pps_ref

Fixes use of freed memory
Should fix valgrind failures of fate-h264-skip-nointra

Found-by: logan
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit febc862b53c090e530b943ebd873747addf5f913)

Conflicts:

libavcodec/h264_parser.c
libavcodec/h264_parser.c