X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavdevice%2Fdv1394.c;h=63eff2aec8b530bc404d12e827c679c5fa635dc2;hb=afd7e46bd485a335595ef66a6568c59581ed0d0a;hp=f414eb3388aa79ccef2ec87f788b8b5ba4724e85;hpb=2366462429d9cc7ed9715c037f204fcefeff8ea4;p=ffmpeg diff --git a/libavdevice/dv1394.c b/libavdevice/dv1394.c index f414eb3388a..63eff2aec8b 100644 --- a/libavdevice/dv1394.c +++ b/libavdevice/dv1394.c @@ -2,20 +2,20 @@ * Linux DV1394 interface * Copyright (c) 2003 Max Krasnyansky * - * This file is part of Libav. + * This file is part of FFmpeg. * - * Libav is free software; you can redistribute it and/or + * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * - * Libav is distributed in the hope that it will be useful, + * FFmpeg is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with Libav; if not, write to the Free Software + * License along with FFmpeg; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ @@ -32,10 +32,7 @@ #include "libavutil/log.h" #include "libavutil/opt.h" -#include "libavformat/avformat.h" - -#undef DV1394_DEBUG - +#include "avdevice.h" #include "libavformat/dv.h" #include "dv1394.h" @@ -203,7 +200,7 @@ restart_poll: size = dv_produce_packet(dv->dv_demux, pkt, dv->ring + (dv->index * DV1394_PAL_FRAME_SIZE), - DV1394_PAL_FRAME_SIZE); + DV1394_PAL_FRAME_SIZE, -1); dv->index = (dv->index + 1) % DV1394_RING_FRAMES; dv->done++; dv->avail--;