Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
ffmpeg
Commits
c20d3ce2
Commit
c20d3ce2
authored
Dec 02, 2007
by
Baptiste Coudurier
Browse files
indentation
Originally committed as revision 11134 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
cc3a9708
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
libavcodec/dnxhdenc.c
libavcodec/dnxhdenc.c
+13
-13
No files found.
libavcodec/dnxhdenc.c
View file @
c20d3ce2
...
...
@@ -172,19 +172,19 @@ static int dnxhd_encode_init(AVCodecContext *avctx)
int
i
,
index
;
if
(
avctx
->
width
==
1920
&&
avctx
->
height
==
1080
)
{
if
(
avctx
->
flags
&
CODEC_FLAG_INTERLACED_DCT
)
{
if
(
avctx
->
bit_rate
==
120000000
)
ctx
->
cid
=
1242
;
else
if
(
avctx
->
bit_rate
==
185000000
)
ctx
->
cid
=
1243
;
}
else
{
if
(
avctx
->
bit_rate
==
120000000
)
ctx
->
cid
=
1237
;
else
if
(
avctx
->
bit_rate
==
185000000
)
ctx
->
cid
=
1238
;
else
if
(
avctx
->
bit_rate
==
36000000
)
ctx
->
cid
=
1253
;
}
if
(
avctx
->
flags
&
CODEC_FLAG_INTERLACED_DCT
)
{
if
(
avctx
->
bit_rate
==
120000000
)
ctx
->
cid
=
1242
;
else
if
(
avctx
->
bit_rate
==
185000000
)
ctx
->
cid
=
1243
;
}
else
{
if
(
avctx
->
bit_rate
==
120000000
)
ctx
->
cid
=
1237
;
else
if
(
avctx
->
bit_rate
==
185000000
)
ctx
->
cid
=
1238
;
else
if
(
avctx
->
bit_rate
==
36000000
)
ctx
->
cid
=
1253
;
}
}
else
if
(
avctx
->
width
==
1280
&&
avctx
->
height
==
720
&&
!
(
avctx
->
flags
&
CODEC_FLAG_INTERLACED_DCT
))
{
if
(
avctx
->
bit_rate
==
90000000
)
...
...
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