aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-04-28 01:03:28 +0200
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2011-05-02 16:41:35 +0200
commit301183d9be4e426d472d4be8c84095c853cb8ac4 (patch)
tree4d39b392884ea79dd5e998ae99214314451b0647 /libavcodec
parentc3f5b8112573245fc5056a49477749df4ed1d0ea (diff)
downloadffmpeg-301183d9be4e426d472d4be8c84095c853cb8ac4.tar.gz
replace deprecated av_get_pict_type_char() with av_get_picture_type_char()
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/flvdec.c2
-rw-r--r--libavcodec/h264.c2
-rw-r--r--libavcodec/h264_cavlc.c2
-rw-r--r--libavcodec/ituh263dec.c2
-rw-r--r--libavcodec/ratecontrol.c2
-rw-r--r--libavcodec/svq3.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/flvdec.c b/libavcodec/flvdec.c
index cf4dfe43bc..2bdacd8d5f 100644
--- a/libavcodec/flvdec.c
+++ b/libavcodec/flvdec.c
@@ -109,7 +109,7 @@ int ff_flv_decode_picture_header(MpegEncContext *s)
if(s->avctx->debug & FF_DEBUG_PICT_INFO){
av_log(s->avctx, AV_LOG_DEBUG, "%c esc_type:%d, qp:%d num:%d\n",
- s->dropable ? 'D' : av_get_pict_type_char(s->pict_type), s->h263_flv-1, s->qscale, s->picture_number);
+ s->dropable ? 'D' : av_get_picture_type_char(s->pict_type), s->h263_flv-1, s->qscale, s->picture_number);
}
s->y_dc_scale_table=
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index beb7ac93ad..8d4c74cca2 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -2307,7 +2307,7 @@ static int decode_slice_header(H264Context *h, H264Context *h0){
h->slice_num,
(s->picture_structure==PICT_FRAME ? "F" : s->picture_structure==PICT_TOP_FIELD ? "T" : "B"),
first_mb_in_slice,
- av_get_pict_type_char(h->slice_type), h->slice_type_fixed ? " fix" : "", h->nal_unit_type == NAL_IDR_SLICE ? " IDR" : "",
+ av_get_picture_type_char(h->slice_type), h->slice_type_fixed ? " fix" : "", h->nal_unit_type == NAL_IDR_SLICE ? " IDR" : "",
pps_id, h->frame_num,
s->current_picture_ptr->field_poc[0], s->current_picture_ptr->field_poc[1],
h->ref_count[0], h->ref_count[1],
diff --git a/libavcodec/h264_cavlc.c b/libavcodec/h264_cavlc.c
index 92911c13e7..cb1420aa09 100644
--- a/libavcodec/h264_cavlc.c
+++ b/libavcodec/h264_cavlc.c
@@ -591,7 +591,7 @@ int ff_h264_decode_mb_cavlc(H264Context *h){
mb_type--;
decode_intra_mb:
if(mb_type > 25){
- av_log(h->s.avctx, AV_LOG_ERROR, "mb_type %d in %c slice too large at %d %d\n", mb_type, av_get_pict_type_char(h->slice_type), s->mb_x, s->mb_y);
+ av_log(h->s.avctx, AV_LOG_ERROR, "mb_type %d in %c slice too large at %d %d\n", mb_type, av_get_picture_type_char(h->slice_type), s->mb_x, s->mb_y);
return -1;
}
partition_count=0;
diff --git a/libavcodec/ituh263dec.c b/libavcodec/ituh263dec.c
index 728019accc..9451484dc9 100644
--- a/libavcodec/ituh263dec.c
+++ b/libavcodec/ituh263dec.c
@@ -71,7 +71,7 @@ static const int h263_mb_type_b_map[15]= {
void ff_h263_show_pict_info(MpegEncContext *s){
if(s->avctx->debug&FF_DEBUG_PICT_INFO){
av_log(s->avctx, AV_LOG_DEBUG, "qp:%d %c size:%d rnd:%d%s%s%s%s%s%s%s%s%s %d/%d\n",
- s->qscale, av_get_pict_type_char(s->pict_type),
+ s->qscale, av_get_picture_type_char(s->pict_type),
s->gb.size_in_bits, 1-s->no_rounding,
s->obmc ? " AP" : "",
s->umvplus ? " UMV" : "",
diff --git a/libavcodec/ratecontrol.c b/libavcodec/ratecontrol.c
index bb17490a12..9c066ef251 100644
--- a/libavcodec/ratecontrol.c
+++ b/libavcodec/ratecontrol.c
@@ -788,7 +788,7 @@ float ff_rate_estimate_qscale(MpegEncContext *s, int dry_run)
if(s->avctx->debug&FF_DEBUG_RC){
av_log(s->avctx, AV_LOG_DEBUG, "%c qp:%d<%2.1f<%d %d want:%d total:%d comp:%f st_q:%2.2f size:%d var:%d/%d br:%d fps:%d\n",
- av_get_pict_type_char(pict_type), qmin, q, qmax, picture_number, (int)wanted_bits/1000, (int)s->total_bits/1000,
+ av_get_picture_type_char(pict_type), qmin, q, qmax, picture_number, (int)wanted_bits/1000, (int)s->total_bits/1000,
br_compensation, short_term_q, s->frame_bits, pic->mb_var_sum, pic->mc_mb_var_sum, s->bit_rate/1000, (int)fps
);
}
diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c
index ece514dc2e..d19b61e254 100644
--- a/libavcodec/svq3.c
+++ b/libavcodec/svq3.c
@@ -941,7 +941,7 @@ static int svq3_decode_frame(AVCodecContext *avctx,
if (avctx->debug&FF_DEBUG_PICT_INFO){
av_log(h->s.avctx, AV_LOG_DEBUG, "%c hpel:%d, tpel:%d aqp:%d qp:%d, slice_num:%02X\n",
- av_get_pict_type_char(s->pict_type), h->halfpel_flag, h->thirdpel_flag,
+ av_get_picture_type_char(s->pict_type), h->halfpel_flag, h->thirdpel_flag,
s->adaptive_quant, s->qscale, h->slice_num);
}