summaryrefslogtreecommitdiff
path: root/libavcodec/pnmenc.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-10-27 16:35:17 +0000
committerDiego Biurrun <diego@biurrun.de>2009-10-27 16:35:17 +0000
commitbc8964ef204154c98a0995f1c926fb72dec10c65 (patch)
tree4dda64e95c151ed070b4cc4c89ae6cd1ac7afc12 /libavcodec/pnmenc.c
parent9853bbb21a19d540850de60d3e9cf7c6ef9da7dc (diff)
Remove crufty leftovers from the era when this file resided within libavformat.
Originally committed as revision 20380 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/pnmenc.c')
-rw-r--r--libavcodec/pnmenc.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/libavcodec/pnmenc.c b/libavcodec/pnmenc.c
index adf7dad39a..545578b68e 100644
--- a/libavcodec/pnmenc.c
+++ b/libavcodec/pnmenc.c
@@ -337,40 +337,6 @@ static av_cold int common_end(AVCodecContext *avctx){
return 0;
}
-#if 0
-static int pnm_probe(AVProbeData *pd)
-{
- const char *p = pd->buf;
- if (pd->buf_size >= 8 &&
- p[0] == 'P' &&
- p[1] >= '4' && p[1] <= '6' &&
- pnm_space(p[2]) )
- return AVPROBE_SCORE_MAX - 1; /* to permit pgmyuv probe */
- else
- return 0;
-}
-
-static int pgmyuv_probe(AVProbeData *pd)
-{
- if (match_ext(pd->filename, "pgmyuv"))
- return AVPROBE_SCORE_MAX;
- else
- return 0;
-}
-
-static int pam_probe(AVProbeData *pd)
-{
- const char *p = pd->buf;
- if (pd->buf_size >= 8 &&
- p[0] == 'P' &&
- p[1] == '7' &&
- p[2] == '\n')
- return AVPROBE_SCORE_MAX;
- else
- return 0;
-}
-#endif
-
#if CONFIG_PGM_DECODER
AVCodec pgm_decoder = {