comparison utils.c @ 2522:e25782262d7d libavcodec

kill warnings patch by (Mns Rullgrd <mru inprovide com>)
author michael
date Thu, 24 Feb 2005 19:08:50 +0000
parents 36d70fbb31c5
children c07be5590462
comparison
equal deleted inserted replaced
2521:d3885f927bc7 2522:e25782262d7d
675 p = p->next; 675 p = p->next;
676 } 676 }
677 return NULL; 677 return NULL;
678 } 678 }
679 679
680 static AVCodec *avcodec_find(enum CodecID id)
681 {
682 AVCodec *p;
683 p = first_avcodec;
684 while (p) {
685 if (p->id == id)
686 return p;
687 p = p->next;
688 }
689 return NULL;
690 }
691
692 void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode) 680 void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode)
693 { 681 {
694 const char *codec_name; 682 const char *codec_name;
695 AVCodec *p; 683 AVCodec *p;
696 char buf1[32]; 684 char buf1[32];