h264_redundant_pps: Fix memleak in case of errors
authorAndreas Rheinhardt <andreas.rheinhardt@googlemail.com>
Fri, 9 Nov 2018 05:31:36 +0000 (06:31 +0100)
committerMark Thompson <sw@jkqxz.net>
Sun, 18 Nov 2018 21:18:36 +0000 (21:18 +0000)
commit40b74abfca39bf514333c3ebb6d6e946975057c3
treeeb07863a145dbf3da394475414c21bca2210bc89
parent72482363d1b738156e99cef51bba20b5674a6ed2
h264_redundant_pps: Fix memleak in case of errors

Now the fragment is uninitialized and the input packet freed in case of
errors.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@googlemail.com>
Signed-off-by: Mark Thompson <sw@jkqxz.net>
libavcodec/h264_redundant_pps_bsf.c