mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-11 06:58:18 +00:00
remove some printf warnings
Originally committed as revision 7691 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
01aa1937cf
commit
e809d7e50a
@ -1097,7 +1097,7 @@ static int mov_read_stss(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
|
|||||||
|
|
||||||
sc->keyframe_count = entries;
|
sc->keyframe_count = entries;
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
av_log(NULL, AV_LOG_DEBUG, "keyframe_count = %ld\n", sc->keyframe_count);
|
av_log(NULL, AV_LOG_DEBUG, "keyframe_count = %d\n", sc->keyframe_count);
|
||||||
#endif
|
#endif
|
||||||
sc->keyframes = av_malloc(entries * sizeof(long));
|
sc->keyframes = av_malloc(entries * sizeof(long));
|
||||||
if (!sc->keyframes)
|
if (!sc->keyframes)
|
||||||
@ -1132,7 +1132,7 @@ static int mov_read_stsz(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
|
|||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
av_log(NULL, AV_LOG_DEBUG, "sample_size = %ld sample_count = %ld\n", sc->sample_size, sc->sample_count);
|
av_log(NULL, AV_LOG_DEBUG, "sample_size = %d sample_count = %d\n", sc->sample_size, sc->sample_count);
|
||||||
#endif
|
#endif
|
||||||
sc->sample_sizes = av_malloc(entries * sizeof(long));
|
sc->sample_sizes = av_malloc(entries * sizeof(long));
|
||||||
if (!sc->sample_sizes)
|
if (!sc->sample_sizes)
|
||||||
|
Loading…
Reference in New Issue
Block a user