Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/avuienc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/avuienc.c b/libavcodec/avuienc.c
index 2dae5ccaf1..53688a9eec 100644
--- a/libavcodec/avuienc.c
+++ b/libavcodec/avuienc.c
@@ -43,7 +43,9 @@ static int avui_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
const AVFrame *pic, int *got_packet)
{
uint8_t *dst, *src = pic->data[0];
- int i, j, skip, ret, size, interlaced = pic->interlaced_frame;
+ int i, j, skip, ret, size, interlaced;
+
+ interlaced = avctx->field_order > AV_FIELD_PROGRESSIVE;
if (avctx->height == 486) {
skip = 10;