]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/h263_parser.c
lavc: add Intel libmfx-based MPEG2 decoder.
[ffmpeg] / libavcodec / h263_parser.c
index d4cc9a36882dfe35da968fff13e3dfe90de96012..71e047a77e661b12610a7cdc6250a0354ebb4c6c 100644 (file)
@@ -2,25 +2,25 @@
  * H.263 parser
  * Copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at>
  *
- * This file is part of FFmpeg.
+ * This file is part of Libav.
  *
- * FFmpeg is free software; you can redistribute it and/or
+ * Libav 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,
+ * Libav 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
+ * License along with Libav; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 /**
- * @file libavcodec/h263_parser.c
+ * @file
  * H.263 parser
  */
 
@@ -83,10 +83,9 @@ static int h263_parse(AVCodecParserContext *s,
     return next;
 }
 
-AVCodecParser h263_parser = {
-    { CODEC_ID_H263 },
-    sizeof(ParseContext),
-    NULL,
-    h263_parse,
-    ff_parse_close,
+AVCodecParser ff_h263_parser = {
+    .codec_ids      = { AV_CODEC_ID_H263 },
+    .priv_data_size = sizeof(ParseContext),
+    .parser_parse   = h263_parse,
+    .parser_close   = ff_parse_close,
 };