Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
42608d65
Commit
42608d65
authored
Feb 14, 2004
by
Roberto Togni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use av_log
Originally committed as revision 2784 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
ac9fe33d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
qtrle.c
libavcodec/qtrle.c
+5
-5
No files found.
libavcodec/qtrle.c
View file @
42608d65
...
...
@@ -54,14 +54,14 @@ typedef struct QtrleContext {
#define CHECK_STREAM_PTR(n) \
if ((stream_ptr + n) > s->size) { \
printf ("QT RLE p
roblem: stream_ptr out of bounds (%d >= %d)\n", \
av_log (s->avctx, AV_LOG_INFO, "P
roblem: stream_ptr out of bounds (%d >= %d)\n", \
stream_ptr + n, s->size); \
return; \
}
#define CHECK_PIXEL_PTR(n) \
if (pixel_ptr + n > pixel_limit) { \
printf ("QT RLE p
roblem: pixel_ptr >= pixel_limit (%d >= %d)\n", \
av_log (s->avctx, AV_LOG_INFO, "P
roblem: pixel_ptr >= pixel_limit (%d >= %d)\n", \
pixel_ptr + n, pixel_limit); \
return; \
} \
...
...
@@ -428,7 +428,7 @@ static int qtrle_decode_init(AVCodecContext *avctx)
break
;
default:
printf
(
"QT RLE:
Unsupported colorspace: %d bits/sample?
\n
"
,
av_log
(
avctx
,
AV_LOG_ERROR
,
"
Unsupported colorspace: %d bits/sample?
\n
"
,
avctx
->
bits_per_sample
);
break
;
}
...
...
@@ -457,7 +457,7 @@ static int qtrle_decode_frame(AVCodecContext *avctx,
s
->
frame
.
buffer_hints
=
FF_BUFFER_HINTS_VALID
|
FF_BUFFER_HINTS_PRESERVE
|
FF_BUFFER_HINTS_REUSABLE
|
FF_BUFFER_HINTS_READABLE
;
if
(
avctx
->
reget_buffer
(
avctx
,
&
s
->
frame
))
{
printf
(
"reget_buffer() failed
\n
"
);
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"reget_buffer() failed
\n
"
);
return
-
1
;
}
...
...
@@ -501,7 +501,7 @@ static int qtrle_decode_frame(AVCodecContext *avctx,
break
;
default:
printf
(
"QT RLE:
Unsupported colorspace: %d bits/sample?
\n
"
,
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"
Unsupported colorspace: %d bits/sample?
\n
"
,
avctx
->
bits_per_sample
);
break
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment