Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
7f1ea388
Commit
7f1ea388
authored
Mar 18, 2015
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc/dts: Do not set bitrate for DTS-HD Master and High Resolution.
Fixes ticket #4375. Reviewed-by: Hendrik Leppkes
parent
c59654d6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
dcadec.c
libavcodec/dcadec.c
+3
-1
No files found.
libavcodec/dcadec.c
View file @
7f1ea388
...
@@ -1472,7 +1472,6 @@ static int dca_decode_frame(AVCodecContext *avctx, void *data,
...
@@ -1472,7 +1472,6 @@ static int dca_decode_frame(AVCodecContext *avctx, void *data,
}
}
// set AVCodec values with parsed data
// set AVCodec values with parsed data
avctx
->
sample_rate
=
s
->
sample_rate
;
avctx
->
sample_rate
=
s
->
sample_rate
;
avctx
->
bit_rate
=
s
->
bit_rate
;
s
->
profile
=
FF_PROFILE_DTS
;
s
->
profile
=
FF_PROFILE_DTS
;
...
@@ -1937,6 +1936,9 @@ FF_ENABLE_DEPRECATION_WARNINGS
...
@@ -1937,6 +1936,9 @@ FF_ENABLE_DEPRECATION_WARNINGS
if
(
ret
<
0
)
if
(
ret
<
0
)
return
ret
;
return
ret
;
if
(
avctx
->
profile
!=
FF_PROFILE_DTS_HD_MA
&&
avctx
->
profile
!=
FF_PROFILE_DTS_HD_HRA
)
avctx
->
bit_rate
=
s
->
bit_rate
;
*
got_frame_ptr
=
1
;
*
got_frame_ptr
=
1
;
return
buf_size
;
return
buf_size
;
...
...
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