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>
Sat, 2 Jul 2016 01:07:23 +0000 (03:07 +0200)
commitfebc862b53c090e530b943ebd873747addf5f913
tree3b4409492f1d2401bd39b942c020761b8b22b376
parent77eb05a2f11f03c98837fa5350d17a8a1c5a2a3d
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>
libavcodec/h264_parser.c