|
|
@@ -8083,10 +8083,8 @@ int main(void){ |
|
|
|
#endif /* TEST */ |
|
|
|
|
|
|
|
|
|
|
|
static av_cold int decode_end(AVCodecContext *avctx) |
|
|
|
av_cold ff_h264_free_context(H264Context *h) |
|
|
|
{ |
|
|
|
H264Context *h = avctx->priv_data; |
|
|
|
MpegEncContext *s = &h->s; |
|
|
|
int i; |
|
|
|
|
|
|
|
av_freep(&h->rbsp_buffer[0]); |
|
|
@@ -8098,6 +8096,14 @@ static av_cold int decode_end(AVCodecContext *avctx) |
|
|
|
|
|
|
|
for(i = 0; i < MAX_PPS_COUNT; i++) |
|
|
|
av_freep(h->pps_buffers + i); |
|
|
|
} |
|
|
|
|
|
|
|
static av_cold int decode_end(AVCodecContext *avctx) |
|
|
|
{ |
|
|
|
H264Context *h = avctx->priv_data; |
|
|
|
MpegEncContext *s = &h->s; |
|
|
|
|
|
|
|
ff_h264_free_context(h); |
|
|
|
|
|
|
|
MPV_common_end(s); |
|
|
|
|
|
|
|