mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-27 07:22:44 +02:00
libeplayer3: need to call avcodec_free_frame after swresample, too
Origin commit data
------------------
Branch: master
Commit: c3ed9ba3f5
Author: martii <m4rtii@gmx.de>
Date: 2013-07-06 (Sat, 06 Jul 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -954,9 +954,10 @@ static void FFMPEGThread(Context_t *context) {
|
|||||||
if (avr) {
|
if (avr) {
|
||||||
avresample_close(avr);
|
avresample_close(avr);
|
||||||
avresample_free(&avr);
|
avresample_free(&avr);
|
||||||
avcodec_free_frame(&decoded_frame);
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
if (decoded_frame)
|
||||||
|
avcodec_free_frame(&decoded_frame);
|
||||||
|
|
||||||
hasPlayThreadStarted = 0;
|
hasPlayThreadStarted = 0;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user