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
5e77dc2e
Commit
5e77dc2e
authored
Sep 02, 2011
by
Ramiro Polla
Committed by
Michael Niedermayer
Sep 06, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dshow: remove some unused code
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
0a333001
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
dshow.c
libavdevice/dshow.c
+1
-6
No files found.
libavdevice/dshow.c
View file @
5e77dc2e
...
...
@@ -19,8 +19,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "libavformat/timefilter.h"
#include "avdevice.h"
#include "dshow.h"
...
...
@@ -42,8 +40,6 @@ struct dshow_ctx {
unsigned
int
video_frame_num
;
IMediaControl
*
control
;
TimeFilter
*
timefilter
;
};
static
enum
PixelFormat
dshow_pixfmt
(
DWORD
biCompression
,
WORD
biBitCount
)
...
...
@@ -223,7 +219,7 @@ dshow_open_device(AVFormatContext *avctx, ICreateDevEnum *devenum,
const
char
*
device_name
=
ctx
->
device_name
[
devtype
];
int
ret
=
AVERROR
(
EIO
);
IPin
*
pin
;
int
r
,
i
;
int
r
;
const
GUID
*
device_guid
[
2
]
=
{
&
CLSID_VideoInputDeviceCategory
,
&
CLSID_AudioInputDeviceCategory
};
...
...
@@ -287,7 +283,6 @@ fail1:
goto
error
;
}
i
=
0
;
while
(
IEnumPins_Next
(
pins
,
1
,
&
pin
,
NULL
)
==
S_OK
&&
!
device_pin
)
{
IKsPropertySet
*
p
=
NULL
;
IEnumMediaTypes
*
types
;
...
...
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