avcodec/pgssubdec: Remove redundant freeing code
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Fri, 10 Dec 2021 20:02:47 +0000 (21:02 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Thu, 16 Dec 2021 01:37:26 +0000 (02:37 +0100)
commit58228ab9b91a6a6e418fd38942aa84b6fffa7df9
tree833e07db951ab12abc5bf1c5c0e123925ca037f2
parent200a3728373fbc74cbfdfcbb3d2152cf21d17034
avcodec/pgssubdec: Remove redundant freeing code

The caller of display_end_segment() frees the AVSubtitle on error
in case ENOMEM is returned or err_recognition is set to explode,
so display_end_segment() doesn't have to.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
libavcodec/pgssubdec.c