This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
r210enc and y41penc: don't set same pkt->size twice
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.11
Paul B Mahol
Michael Niedermayer
14 years ago
parent
8a08503b78
commit
d00bc6a8fd
2 changed files
with
0 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-1
libavcodec/r210enc.c
+0
-1
libavcodec/y41penc.c
+ 0
- 1
libavcodec/r210enc.c
View File
@@ -75,7 +75,6 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt,
src_line += pic->linesize[0];
}
pkt->size = 4 * aligned_width * avctx->height;
pkt->flags |= AV_PKT_FLAG_KEY;
*got_packet = 1;
return 0;
+ 0
- 1
libavcodec/y41penc.c
View File
@@ -80,7 +80,6 @@ static int y41p_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
}
}
pkt->size = 1.5 * avctx->width * avctx->height;
pkt->flags |= AV_PKT_FLAG_KEY;
*got_packet = 1;
return 0;
Write
Preview
Loading…
Cancel
Save