avconv: remove a useless variable from OutputStream.
This commit is contained in:
parent
b7327887ea
commit
9dced85426
8
avconv.c
8
avconv.c
@ -215,7 +215,6 @@ typedef struct OutputStream {
|
|||||||
AVFrame *output_frame;
|
AVFrame *output_frame;
|
||||||
|
|
||||||
/* video only */
|
/* video only */
|
||||||
int video_resample;
|
|
||||||
int resample_height;
|
int resample_height;
|
||||||
int resample_width;
|
int resample_width;
|
||||||
int resample_pix_fmt;
|
int resample_pix_fmt;
|
||||||
@ -2422,10 +2421,9 @@ static int transcode_init(void)
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
ost->video_resample = codec->width != icodec->width ||
|
if (codec->width != icodec->width ||
|
||||||
codec->height != icodec->height ||
|
codec->height != icodec->height ||
|
||||||
codec->pix_fmt != icodec->pix_fmt;
|
codec->pix_fmt != icodec->pix_fmt) {
|
||||||
if (ost->video_resample) {
|
|
||||||
codec->bits_per_raw_sample = 0;
|
codec->bits_per_raw_sample = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user