[FFmpeg-cvslog] remove ParseContext1

Rafaël Carré git at videolan.org
Sat Feb 11 01:35:45 CET 2012


ffmpeg | branch: master | Rafaël Carré <funman at videolan.org> | Wed Feb  8 19:34:37 2012 -0500| [b24aaabd44d68c6fafbfc476d1b70cc7ff8138ca] | committer: Diego Biurrun

remove ParseContext1

Signed-off-by: Diego Biurrun <diego at biurrun.de>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b24aaabd44d68c6fafbfc476d1b70cc7ff8138ca
---

 libavcodec/parser.c |    8 --------
 libavcodec/parser.h |   14 --------------
 2 files changed, 0 insertions(+), 22 deletions(-)

diff --git a/libavcodec/parser.c b/libavcodec/parser.c
index 9fd7af6..7a6b205 100644
--- a/libavcodec/parser.c
+++ b/libavcodec/parser.c
@@ -289,14 +289,6 @@ void ff_parse_close(AVCodecParserContext *s)
     av_freep(&pc->buffer);
 }
 
-void ff_parse1_close(AVCodecParserContext *s)
-{
-    ParseContext1 *pc1 = s->priv_data;
-
-    av_free(pc1->pc.buffer);
-    av_free(pc1->enc);
-}
-
 /*************************/
 
 int ff_mpeg4video_split(AVCodecContext *avctx,
diff --git a/libavcodec/parser.h b/libavcodec/parser.h
index 1e85ae4..024b487 100644
--- a/libavcodec/parser.h
+++ b/libavcodec/parser.h
@@ -39,26 +39,12 @@ typedef struct ParseContext{
 
 struct MpegEncContext;
 
-typedef struct ParseContext1{
-    ParseContext pc;
-/* XXX/FIXME PC1 vs. PC */
-    /* MPEG-2-specific */
-    AVRational frame_rate;
-    int progressive_sequence;
-    int width, height;
-
-    /* XXX: suppress that, needed by MPEG-4 */
-    struct MpegEncContext *enc;
-    int first_picture;
-} ParseContext1;
-
 #define END_NOT_FOUND (-100)
 
 int ff_combine_frame(ParseContext *pc, int next, const uint8_t **buf, int *buf_size);
 int ff_mpeg4video_split(AVCodecContext *avctx, const uint8_t *buf,
                         int buf_size);
 void ff_parse_close(AVCodecParserContext *s);
-void ff_parse1_close(AVCodecParserContext *s);
 
 /**
  * Fetch timestamps for a specific byte within the current access unit.



More information about the ffmpeg-cvslog mailing list