James Almer
649c851900
avcodec/encode: do proper cleanup on failure
...
Fixes the last remaining memleaks introduced by a58f8cc983 .
Signed-off-by: James Almer <jamrial@gmail.com >
2017-10-03 14:00:27 -03:00
James Almer
3029c9c421
avcodec/encode: free non-referenced packets' side data in the old encode API functions
...
Fixes memleaks introduced by a58f8cc983 .
2017-10-02 18:58:53 -03:00
James Almer
a58f8cc983
avcodec/encode: remove usage of av_dup_packet()
...
Reviewed-by: wm4 <nfxjfg@googlemail.com >
Signed-off-by: James Almer <jamrial@gmail.com >
2017-10-02 11:14:57 -03:00
Muhammad Faiz
17bfae9252
avcodec: do not use AVFrame accessor
...
Reviewed-by: wm4 <nfxjfg@googlemail.com >
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com >
2017-04-23 14:27:47 +07:00
James Almer
6cdb49f35c
Merge commit '319cd8654d71f5aef953f36190756cd2eb8c3d24'
...
* commit '319cd8654d71f5aef953f36190756cd2eb8c3d24':
lavc: move encoding-related code from utils.c to a new file
Merged-by: James Almer <jamrial@gmail.com >
2017-04-07 00:42:38 -03:00
Anton Khirnov
319cd8654d
lavc: move encoding-related code from utils.c to a new file
2016-11-29 10:39:20 +01:00