X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fh261.c;h=96b5af1f6460797a7ead5f9092c20847a8e60238;hb=5d9db9c4a9bdfa2dfcbe292670a96fbffb81e44a;hp=15c7a7d5d2c20365b4c676fd859b7483ef1ce5f7;hpb=115329f16062074e11ccf3b89ead6176606c9696;p=ffmpeg diff --git a/libavcodec/h261.c b/libavcodec/h261.c index 15c7a7d5d2c..96b5af1f646 100644 --- a/libavcodec/h261.c +++ b/libavcodec/h261.c @@ -15,7 +15,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ /** @@ -762,7 +762,7 @@ static int h261_decode_block(H261Context * h, DCTELEM * block, * decodes the H261 picture header. * @return <0 if no startcode found */ -int h261_decode_picture_header(H261Context *h){ +static int h261_decode_picture_header(H261Context *h){ MpegEncContext * const s = &h->s; int format, i; uint32_t startcode= 0; @@ -921,8 +921,8 @@ static int h261_decode_frame(AVCodecContext *avctx, AVFrame *pict = data; #ifdef DEBUG - printf("*****frame %d size=%d\n", avctx->frame_number, buf_size); - printf("bytes=%x %x %x %x\n", buf[0], buf[1], buf[2], buf[3]); + av_log(avctx, AV_LOG_DEBUG, "*****frame %d size=%d\n", avctx->frame_number, buf_size); + av_log(avctx, AV_LOG_DEBUG, "bytes=%x %x %x %x\n", buf[0], buf[1], buf[2], buf[3]); #endif s->flags= avctx->flags; s->flags2= avctx->flags2;