From 231680944f4a23f31cc005b0555ba3a86316da98 Mon Sep 17 00:00:00 2001 From: Themaister Date: Sun, 4 Sep 2011 11:37:59 +0200 Subject: [PATCH] Remove #ifdef for FFmpeg. --- record/ffemu.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/record/ffemu.c b/record/ffemu.c index fce4fa97f5..0ed08729f8 100644 --- a/record/ffemu.c +++ b/record/ffemu.c @@ -147,11 +147,7 @@ static bool init_muxer(ffemu_t *handle) AVFormatContext *ctx = avformat_alloc_context(); av_strlcpy(ctx->filename, handle->params.filename, sizeof(ctx->filename)); ctx->oformat = av_guess_format(NULL, ctx->filename, NULL); -#ifdef AVIO_FLAG_WRITE if (avio_open(&ctx->pb, ctx->filename, AVIO_FLAG_WRITE) < 0) -#else - if (url_fopen(&ctx->pb, ctx->filename, URL_WRONLY) < 0) -#endif { av_free(ctx); return false;