summaryrefslogtreecommitdiff
path: root/avconv.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2011-08-23 11:25:40 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2011-08-23 11:25:40 +0200
commit88f71f3daa1b9810aa15262b3eaea600dd98fc5f (patch)
tree26a1c44fc1a67c785192620eb49733525f9e427c /avconv.c
parent04c9c0baf3656069e7ece8bb95ac58a8280e52db (diff)
Fix compilation with --disable-avfilter.
Fixes ticket #414.
Diffstat (limited to 'avconv.c')
-rw-r--r--avconv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/avconv.c b/avconv.c
index 1e3cd0e6f0..8a55af97c1 100644
--- a/avconv.c
+++ b/avconv.c
@@ -1074,6 +1074,7 @@ static void do_video_resample(OutputStream *ost,
{
int resample_changed = 0;
AVCodecContext *dec = ist->st->codec;
+ AVCodecContext *enc = ost->st->codec;
*out_picture = in_picture;
resample_changed = ost->resample_width != dec->width ||