summaryrefslogtreecommitdiff
path: root/libavcodec/dv.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-09-29 19:18:51 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-09-29 19:18:51 +0000
commit8f1e203a56bda6acf437084b4453060bd52200d5 (patch)
tree1fffe45bf2ac9465bfe238bbc1244be3a75733ef /libavcodec/dv.c
parentebb651d5f2593836f95d4f1737ff1ee722fd98f4 (diff)
downloadffmpeg-8f1e203a56bda6acf437084b4453060bd52200d5.tar.gz
Use context instead of NULL for logging.
Originally committed as revision 20085 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dv.c')
-rw-r--r--libavcodec/dv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dv.c b/libavcodec/dv.c
index b17bbc7074..9b56977345 100644
--- a/libavcodec/dv.c
+++ b/libavcodec/dv.c
@@ -631,7 +631,7 @@ static int dv_decode_video_segment(AVCodecContext *avctx, void *arg)
dv_decode_ac(&gb, mb, block);
}
if (mb->pos >= 64 && mb->pos < 127)
- av_log(NULL, AV_LOG_ERROR, "AC EOB marker is absent pos=%d\n", mb->pos);
+ av_log(avctx, AV_LOG_ERROR, "AC EOB marker is absent pos=%d\n", mb->pos);
block += 64;
mb++;
}
@@ -1099,7 +1099,7 @@ static int dv_encode_video_segment(AVCodecContext *avctx, void *arg)
if (enc_blks[j].partial_bit_count)
pb = dv_encode_ac(&enc_blks[j], pb, &pbs[s->sys->bpm*5]);
if (enc_blks[j].partial_bit_count)
- av_log(NULL, AV_LOG_ERROR, "ac bitstream overflow\n");
+ av_log(avctx, AV_LOG_ERROR, "ac bitstream overflow\n");
}
for (j=0; j<5*s->sys->bpm; j++) {