summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2013-10-03 01:42:23 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2013-10-03 01:42:23 +0200
commitb5f219c904b9b17c35c5c5aee3384586cb6302a8 (patch)
treef267359e87c309e84bfbf709a7810d01ea1cc57f
parent64327aabb96dec98f72d4b64b0040c9dfbac9faf (diff)
Print pix_fmt name on h264 context reinitialisation.
-rw-r--r--libavcodec/h264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index f2ee328124..cda26d6e6b 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -3473,7 +3473,7 @@ static int decode_slice_header(H264Context *h, H264Context *h0)
h->avctx->pix_fmt = ret;
av_log(h->avctx, AV_LOG_INFO, "Reinit context to %dx%d, "
- "pix_fmt: %d\n", h->width, h->height, h->avctx->pix_fmt);
+ "pix_fmt: %s\n", h->width, h->height, av_get_pix_fmt_name(h->avctx->pix_fmt));
if ((ret = h264_slice_header_init(h, 1)) < 0) {
av_log(h->avctx, AV_LOG_ERROR,