diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-09-30 02:33:12 +0300 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-10-04 18:41:34 +0300 |
commit | 2fd99aa2088b235676486589f11daf2cf50f3418 (patch) | |
tree | ced87501caf8d481c927d8644dd2cd7965bb8bef /libavcodec/mpeg12codecs.h | |
parent | ef285d59acd3adce06bab8177e717940ba165d6a (diff) |
avcodec/mpeg12: Move ff_mpeg1_clean_buffers decl to a new header
It allows to avoid including mpegvideo.h when including mpeg12.h.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/mpeg12codecs.h')
-rw-r--r-- | libavcodec/mpeg12codecs.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/libavcodec/mpeg12codecs.h b/libavcodec/mpeg12codecs.h new file mode 100644 index 0000000000..f8cf5503e2 --- /dev/null +++ b/libavcodec/mpeg12codecs.h @@ -0,0 +1,29 @@ +/* + * MPEG-1/2 codecs common code + * Copyright (c) 2007 Aurelien Jacobs <aurel@gnuage.org> + * + * This file is part of FFmpeg. + * + * 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. + * + * 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 FFmpeg; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#ifndef AVCODEC_MPEG12CODECS_H +#define AVCODEC_MPEG12CODECS_H + +#include "mpegvideo.h" + +void ff_mpeg1_clean_buffers(MpegEncContext *s); + +#endif /* AVCODEC_MPEG12CODECS_H */ |