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
eddc482d
Commit
eddc482d
authored
Mar 31, 2007
by
Baptiste Coudurier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
print error message
Originally committed as revision 8569 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
087fa475
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
ffmpeg.c
ffmpeg.c
+3
-2
No files found.
ffmpeg.c
View file @
eddc482d
...
...
@@ -1610,9 +1610,10 @@ static int av_encode(AVFormatContext **output_files,
if
(
ost
->
video_resample
)
{
avcodec_get_frame_defaults
(
&
ost
->
pict_tmp
);
if
(
avpicture_alloc
(
(
AVPicture
*
)
&
ost
->
pict_tmp
,
codec
->
pix_fmt
,
codec
->
width
,
codec
->
height
)
)
codec
->
width
,
codec
->
height
)
)
{
fprintf
(
stderr
,
"Cannot allocate temp picture, check pix fmt
\n
"
);
exit
(
1
);
}
ost
->
img_resample_ctx
=
sws_getContext
(
icodec
->
width
-
(
frame_leftBand
+
frame_rightBand
),
icodec
->
height
-
(
frame_topBand
+
frame_bottomBand
),
...
...
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