You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/libvpxenc,cosmetics: prefer sizeof(var)
Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: James Zern <jzern@google.com>
This commit is contained in:
@@ -1041,8 +1041,7 @@ static int queue_frames(AVCodecContext *avctx, AVPacket *pkt_out)
|
|||||||
if (size < 0)
|
if (size < 0)
|
||||||
return size;
|
return size;
|
||||||
} else {
|
} else {
|
||||||
struct FrameListData *cx_frame =
|
struct FrameListData *cx_frame = av_malloc(sizeof(*cx_frame));
|
||||||
av_malloc(sizeof(struct FrameListData));
|
|
||||||
|
|
||||||
if (!cx_frame) {
|
if (!cx_frame) {
|
||||||
av_log(avctx, AV_LOG_ERROR,
|
av_log(avctx, AV_LOG_ERROR,
|
||||||
|
Reference in New Issue
Block a user