James Almer
|
e61d8b82a2
|
avcodec/encode: use av_packet_make_refcounted to ensure packets are ref counted
Simplifies code.
Signed-off-by: James Almer <jamrial@gmail.com>
|
8 years ago |
James Almer
|
87e625c263
|
avcodec/encode: do proper cleanup on failure
Fixes the last remaining memleaks introduced by a22c6a4796.
Signed-off-by: James Almer <jamrial@gmail.com>
|
8 years ago |
James Almer
|
712ee85816
|
avcodec/encode: free non-referenced packets' side data in the old encode API functions
Fixes memleaks introduced by a22c6a4796.
|
8 years ago |
James Almer
|
a22c6a4796
|
avcodec/encode: remove usage of av_dup_packet()
Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
|
8 years ago |
Muhammad Faiz
|
31f61b0d4f
|
avcodec: do not use AVFrame accessor
Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
|
8 years ago |
Vittorio Giovara
|
48bb0da050
|
lavc: Drop deprecated way of setting audio delay on encode
Deprecated in 08/2014.
|
9 years ago |
Anton Khirnov
|
328cd2b599
|
lavc: move encoding-related code from utils.c to a new file
|
9 years ago |