summaryrefslogtreecommitdiff
path: root/libavdevice
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-12-07 13:48:58 +0100
committerDiego Biurrun <diego@biurrun.de>2011-12-07 15:29:13 +0100
commitee41963f19eb6303b1582601dfccb1753866ab63 (patch)
treeb57d0533b89169f91867435381f34b519706671a /libavdevice
parentfc9489f6adb9d3e790e6e5ebe984eaee0c733b09 (diff)
downloadffmpeg-ee41963f19eb6303b1582601dfccb1753866ab63.tar.gz
cosmetics: drop some completely pointless parentheses
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/libdc1394.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavdevice/libdc1394.c b/libavdevice/libdc1394.c
index 71f08b137d..ac4bb093d4 100644
--- a/libavdevice/libdc1394.c
+++ b/libavdevice/libdc1394.c
@@ -371,8 +371,8 @@ static int dc1394_v2_read_packet(AVFormatContext *c, AVPacket *pkt)
res = dc1394_capture_dequeue(dc1394->camera, DC1394_CAPTURE_POLICY_WAIT, &dc1394->frame);
if (res == DC1394_SUCCESS) {
- dc1394->packet.data = (uint8_t *)(dc1394->frame->image);
- dc1394->packet.pts = (dc1394->current_frame * 1000000) / (dc1394->frame_rate);
+ dc1394->packet.data = (uint8_t *) dc1394->frame->image;
+ dc1394->packet.pts = dc1394->current_frame * 1000000 / dc1394->frame_rate;
res = dc1394->frame->image_bytes;
} else {
av_log(c, AV_LOG_ERROR, "DMA capture failed\n");